aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/openmax
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/jogamp/openmax')
-rw-r--r--src/jogl/classes/com/jogamp/openmax/OMXInstance.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/openmax/OMXInstance.java b/src/jogl/classes/com/jogamp/openmax/OMXInstance.java
index 9f5b850ba..2ebae9b58 100644
--- a/src/jogl/classes/com/jogamp/openmax/OMXInstance.java
+++ b/src/jogl/classes/com/jogamp/openmax/OMXInstance.java
@@ -82,7 +82,7 @@ public class OMXInstance {
if(null==eglDrawable) {
throw new RuntimeException("No valid drawable");
}
- eglContext = eglCtx.getContext();
+ eglContext = eglCtx.getHandle();
eglDisplay = eglDrawable.getDisplay();
eglSurface = eglDrawable.getSurface();
eglExt = eglCtx.getEGLExt();