diff options
Diffstat (limited to 'src/jogl')
-rwxr-xr-x | src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java b/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java index cc4dafa4c..f44f562c2 100755 --- a/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java +++ b/src/jogl/classes/com/sun/opengl/impl/egl/EGLContext.java @@ -99,6 +99,12 @@ public abstract class EGLContext extends GLContextImpl { } boolean created = false; if (eglContext == 0) { + // FIXME - Broadcom ! + eglContext = EGL.eglGetCurrentContext(); + created = ( 0 != eglContext ) ; + System.err.println(getThreadName() + ": !!! Re-Use: Ctx: 0x"+Long.toHexString(eglContext)); + } + if (eglContext == 0) { create(); if (DEBUG) { System.err.println(getThreadName() + ": !!! Created GL context 0x" + |