summaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/games/jogl')
-rw-r--r--src/net/java/games/jogl/GLJPanel.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/java/games/jogl/GLJPanel.java b/src/net/java/games/jogl/GLJPanel.java
index b22f91b58..f7e7fe6db 100644
--- a/src/net/java/games/jogl/GLJPanel.java
+++ b/src/net/java/games/jogl/GLJPanel.java
@@ -86,7 +86,8 @@ public final class GLJPanel extends JPanel implements GLDrawable {
private int glType;
// Implementation using pbuffers
- private static boolean hardwareAccelerationDisabled = true;
+ private static boolean hardwareAccelerationDisabled =
+ Debug.isPropertyDefined("jogl.gljpanel.nohw");
private boolean pbufferInitializationCompleted;
private GLPbuffer pbuffer;
private int pbufferWidth = 256;