aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsg215889 <[email protected]>2009-07-29 20:07:25 -0700
committersg215889 <[email protected]>2009-07-29 20:07:25 -0700
commit323d6b56ffc52461240d447de7239379d3e8cc8a (patch)
tree98bfa2c02477f775adbc5e7b9f08f0ba84e7b83d /src
parentcd1c18244cec90575cdcc2039db42596d438cd90 (diff)
BroadcomEGL: No relase-ctx, no destroy-ctx - FIXME
Diffstat (limited to 'src')
-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");