From dd0400a41478c1f365414b8c760eee1c91105280 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 2 Jun 2010 04:04:19 +0200 Subject: JOGL: Unified GLContext native handle - All GLContext implementations are using the contextHandle of the super class. - GLContext.getHandle() exposes contextHandle for API cross access --- src/jogl/classes/com/jogamp/openmax/OMXInstance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/com/jogamp/openmax/OMXInstance.java') 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(); -- cgit v1.2.3