diff options
author | Sven Gothel <[email protected]> | 2008-08-11 12:16:28 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-08-11 12:16:28 +0000 |
commit | 1ef16ee89df4d0dd4df0c1356e5b52eba20f3850 (patch) | |
tree | 6430cf0e20dd6bfba9b12552e5f8803a6869a312 /src/classes/javax | |
parent | 2bf0794404b9ec92e13577f3b812a3947b57a0d1 (diff) |
Minor CVM/ES1 fixes
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1747 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax')
-rw-r--r-- | src/classes/javax/media/opengl/GLProfile.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/classes/javax/media/opengl/GLProfile.java b/src/classes/javax/media/opengl/GLProfile.java index aec2a7789..65e103937 100644 --- a/src/classes/javax/media/opengl/GLProfile.java +++ b/src/classes/javax/media/opengl/GLProfile.java @@ -66,7 +66,10 @@ public class GLProfile { NativeLibLoader.loadGL2(); DRIHack.end(); } if(GL2ES12.equals(profile)) { + // See DRIHack.java for an explanation of why this is necessary + DRIHack.begin(); NativeLibLoader.loadGL2ES12(); + DRIHack.end(); } else if(GLES1.equals(profile) || GLES2.equals(profile)) { Object eGLDrawableFactory = GLReflection.createInstance("com.sun.opengl.impl.egl.EGLDrawableFactory"); if(null==eGLDrawableFactory) { |