aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/egl/EGLContext.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/opengl/impl/egl/EGLContext.java')
-rwxr-xr-xsrc/classes/com/sun/opengl/impl/egl/EGLContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/com/sun/opengl/impl/egl/EGLContext.java b/src/classes/com/sun/opengl/impl/egl/EGLContext.java
index 2be9537b2..8ba07bc51 100755
--- a/src/classes/com/sun/opengl/impl/egl/EGLContext.java
+++ b/src/classes/com/sun/opengl/impl/egl/EGLContext.java
@@ -181,7 +181,7 @@ public class EGLContext extends GLContextImpl {
protected void create() throws GLException {
long display = drawable.getDisplay();
- _EGLConfig config = drawable.getConfig();
+ _EGLConfig config = drawable.getEGLConfig().getNativeConfig();
long shareWith = 0;
if (display == 0) {