aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/newt/native/BroadcomEGL.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/newt/native/BroadcomEGL.c b/src/newt/native/BroadcomEGL.c
index 7ef73446e..d529de667 100755
--- a/src/newt/native/BroadcomEGL.c
+++ b/src/newt/native/BroadcomEGL.c
@@ -153,13 +153,14 @@ JNIEXPORT jlong JNICALL Java_com_sun_javafx_newt_opengl_broadcom_BCEGLWindow_Cre
// release and destroy already made context ..
EGLContext ctx = eglGetCurrentContext();
- DBG_PRINT( "[RealizeWindow.Create] ctx %p\n", ctx);
- eglMakeCurrent(dpy,
+ DBG_PRINT( "[RealizeWindow.Create] ctx %p - KEEP ALIVE \n", ctx);
+ /*eglMakeCurrent(dpy,
EGL_NO_SURFACE,
EGL_NO_SURFACE,
- EGL_NO_CONTEXT);
+ EGL_NO_CONTEXT); */
DBG_PRINT( "[RealizeWindow.Create] 2\n");
- eglDestroyContext(dpy, ctx); // culprit ? FIXME ?
+ // eglDestroyContext(dpy, ctx); // culprit ? FIXME ?
+ DBG_PRINT( "[RealizeWindow.Create] 2 - eglDestroyContext - DISABLED - Duh ?\n");
DBG_PRINT( "[RealizeWindow.Create] X\n");