diff options
author | Sven Gothel <[email protected]> | 2009-07-03 23:31:02 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-07-03 23:31:02 +0000 |
commit | 944a0ca587d20d193b9f8c7b5edbd0b0bd0d7666 (patch) | |
tree | 61473a7a57d71427ce8fdf927eefc74130e093bb /src/jogl/classes/javax/media/opengl/GLAutoDrawable.java | |
parent | 02ccc7939e2c542860f154e4f9063dbb1839a893 (diff) |
Fix property query. Thx to Ken pointing this out.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2018 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLAutoDrawable.java')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLAutoDrawable.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLAutoDrawable.java b/src/jogl/classes/javax/media/opengl/GLAutoDrawable.java index f0450e89e..43347c416 100644 --- a/src/jogl/classes/javax/media/opengl/GLAutoDrawable.java +++ b/src/jogl/classes/javax/media/opengl/GLAutoDrawable.java @@ -41,6 +41,7 @@ package javax.media.opengl; import javax.media.opengl.glu.*; import com.sun.opengl.impl.Debug; +import java.security.*; /** A higher-level abstraction than {@link GLDrawable} which supplies an event based mechanism ({@link GLEventListener}) for performing @@ -112,7 +113,7 @@ public interface GLAutoDrawable extends GLDrawable { /** Flag reflecting wheather the drawable reconfiguration will be issued in * case a screen device change occured, e.g. in a multihead environment, * where you drag the window to another monitor. */ - public static final boolean SCREEN_CHANGE_ACTION_ENABLED = Debug.getBooleanProperty("jogl.screenchange.action", true); + public static final boolean SCREEN_CHANGE_ACTION_ENABLED = Debug.getBooleanProperty("jogl.screenchange.action", true, AccessController.getContext()); /** FIXME: ** Invalid state, the resources are not yet ready to render. * |