From a5b73c63005a4b8697c93d22ad82720981dd1146 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 6 Oct 2011 04:01:16 +0200 Subject: EGL: In case a nativeVisualID is given to match, but none visual IDs are available, ignore the given ID Fixes Omap3 EGLConfig's which does not have a native visual ID --- .../jogamp/opengl/egl/EGLGraphicsConfigurationFactory.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl/egl') diff --git a/src/jogl/classes/jogamp/opengl/egl/EGLGraphicsConfigurationFactory.java b/src/jogl/classes/jogamp/opengl/egl/EGLGraphicsConfigurationFactory.java index 36a93f348..8c1cf882c 100644 --- a/src/jogl/classes/jogamp/opengl/egl/EGLGraphicsConfigurationFactory.java +++ b/src/jogl/classes/jogamp/opengl/egl/EGLGraphicsConfigurationFactory.java @@ -301,15 +301,21 @@ public class EGLGraphicsConfigurationFactory extends GLGraphicsConfigurationFact } if(0<=nativeVisualID) { + List/**/ removedCaps = new ArrayList(); for(int i=0; i