From 323d6b56ffc52461240d447de7239379d3e8cc8a Mon Sep 17 00:00:00 2001 From: sg215889 Date: Wed, 29 Jul 2009 20:07:25 -0700 Subject: BroadcomEGL: No relase-ctx, no destroy-ctx - FIXME --- src/newt/native/BroadcomEGL.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/newt/native') 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"); -- cgit v1.2.3