|
From: Elias N. <eli...@us...> - 2005-11-22 14:04:04
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18784/src/native/linux Modified Files: extgl_glx.c Log Message: Converted some static local variables to stack localvariables Index: extgl_glx.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/extgl_glx.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- extgl_glx.c 20 Nov 2005 13:20:40 -0000 1.9 +++ extgl_glx.c 22 Nov 2005 14:03:52 -0000 1.10 @@ -151,7 +151,7 @@ bool extgl_Open(JNIEnv *env) { #define BUFFER_SIZE 2000 - static char buffer[BUFFER_SIZE]; + char buffer[BUFFER_SIZE]; if (lib_gl_handle != NULL) return true; lib_gl_handle = dlopen("libGL.so.1", RTLD_LAZY | RTLD_GLOBAL); |