From: Gregory P. <gre...@us...> - 2003-01-01 03:58:09
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1:/tmp/cvs-serv2955/src/native/win32 Modified Files: org_lwjgl_opengl_BaseGL.cpp Log Message: no message Index: org_lwjgl_opengl_BaseGL.cpp CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_BaseGL.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_BaseGL.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- org_lwjgl_opengl_BaseGL.cpp 19 Dec 2002 16:35:35 -0000 1.9 +++ org_lwjgl_opengl_BaseGL.cpp 1 Jan 2003 03:58:01 -0000 1.10 @@ -60,8 +60,8 @@ printf("No window handle\n"); return JNI_FALSE; } - if (extgl_Open() != 0) - return JNI_FALSE; + if (extgl_Open() != 0) + return JNI_FALSE; // Create a rendering context hglrc = wglCreateContext(hdc); if (hglrc == NULL) { @@ -72,11 +72,11 @@ // Automatically make it the current context wglMakeCurrent(hdc, hglrc); - if (extgl_Initialize() != 0) { - printf("Failed to initialize GL\n"); - return JNI_FALSE; - } - + if (extgl_Initialize() != 0) { + printf("Failed to initialize GL\n"); + return JNI_FALSE; + } + #ifdef _DEBUG char * p = (char *) glGetString(GL_EXTENSIONS); if (NULL == p) { |