diff options
author | sg215889 <[email protected]> | 2009-07-29 20:07:25 -0700 |
---|---|---|
committer | sg215889 <[email protected]> | 2009-07-29 20:07:25 -0700 |
commit | 323d6b56ffc52461240d447de7239379d3e8cc8a (patch) | |
tree | 98bfa2c02477f775adbc5e7b9f08f0ba84e7b83d /src/newt | |
parent | cd1c18244cec90575cdcc2039db42596d438cd90 (diff) |
BroadcomEGL: No relase-ctx, no destroy-ctx - FIXME
Diffstat (limited to 'src/newt')
-rwxr-xr-x | src/newt/native/BroadcomEGL.c | 9 |
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"); |