diff options
Diffstat (limited to 'src/jogl/classes/jogamp/opengl')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/GLGraphicsConfigurationFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/opengl/GLGraphicsConfigurationFactory.java b/src/jogl/classes/jogamp/opengl/GLGraphicsConfigurationFactory.java index e51e997a3..6fe9f080c 100644 --- a/src/jogl/classes/jogamp/opengl/GLGraphicsConfigurationFactory.java +++ b/src/jogl/classes/jogamp/opengl/GLGraphicsConfigurationFactory.java @@ -49,9 +49,9 @@ public abstract class GLGraphicsConfigurationFactory extends GraphicsConfigurati return -1; // none available } - if(null == chooser && 0 <= recommendedIndex) { + if(null == chooser && 0 <= recommendedIndex && capsRequested.isBackgroundOpaque()) { if (DEBUG) { - System.err.println("chooseCapabilities: Using recommendedIndex: idx " + recommendedIndex); + System.err.println("chooseCapabilities: Using recommendedIndex (opaque): idx " + recommendedIndex); } return recommendedIndex; } |