aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/OpenGL_X11.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2001-09-26 00:21:57 +0000
committerSven Gothel <[email protected]>2001-09-26 00:21:57 +0000
commit744ceb659539753d571dc46aebb601d4a2f0b401 (patch)
treed5dbaac2714b00532c51d8f35bcd6ec0927d235c /CNativeCode/OpenGL_X11.c
parent26883064d71736ccd96a6f1d9b19b85b66f5ac7c (diff)
bugfix: auto context switch
Diffstat (limited to 'CNativeCode/OpenGL_X11.c')
-rw-r--r--CNativeCode/OpenGL_X11.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/CNativeCode/OpenGL_X11.c b/CNativeCode/OpenGL_X11.c
index f95ee8a..f7e0795 100644
--- a/CNativeCode/OpenGL_X11.c
+++ b/CNativeCode/OpenGL_X11.c
@@ -516,7 +516,6 @@ Java_gl4java_GLContext_gljMakeCurrentNative( JNIEnv *env, jobject obj,
(Window)((PointerHolder)thisWin),
(GLXContext)((PointerHolder)glContext) ) )
{
- extern GLenum glGetError ( void ) ;
fprintf(stderr, "GL4Java: gljMakeCurrent failed with GC\n Another thread may be use it now ...\n");
fflush(stderr);
ret = JNI_FALSE;