diff options
author | Sven Gothel <[email protected]> | 2001-02-14 12:54:54 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2001-02-14 12:54:54 +0000 |
commit | 70be669b0db3713117982dbeeadbb91ed670e901 (patch) | |
tree | bd39a986a7b840d9ebf3dc0d796032c16cbf8634 /CNativeCode/OpenGL_X11_jawt.c | |
parent | aaad1aab82e57bc369e26f55a25b24fb77d9fd45 (diff) |
rel-2-5-2-0-test3rel-2-5-2-0-test3
Diffstat (limited to 'CNativeCode/OpenGL_X11_jawt.c')
-rw-r--r-- | CNativeCode/OpenGL_X11_jawt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CNativeCode/OpenGL_X11_jawt.c b/CNativeCode/OpenGL_X11_jawt.c index 5b69b50..db7cd39 100644 --- a/CNativeCode/OpenGL_X11_jawt.c +++ b/CNativeCode/OpenGL_X11_jawt.c @@ -875,7 +875,11 @@ Java_gl4java_GLContext_gljDestroyNative( JNIEnv *env, jobject obj, if(ret==JNI_TRUE) { if(gc!=0) + { + if(JNI_TRUE==verbose) + fprintf(stderr, "GL4Java: glXDestroyContext sure %p\n", gc); glXDestroyContext(disp, gc); + } if(pix!=0) { if(win!=0) |