|
From: <eli...@us...> - 2004-03-09 12:45:25
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31730/linux Modified Files: org_lwjgl_opengl_Window.cpp Log Message: Removed duplicate exception Index: org_lwjgl_opengl_Window.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Window.cpp,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- org_lwjgl_opengl_Window.cpp 25 Feb 2004 18:09:10 -0000 1.19 +++ org_lwjgl_opengl_Window.cpp 9 Mar 2004 12:20:21 -0000 1.20 @@ -451,11 +451,6 @@ return true; } -/* - * Class: org_lwjgl_opengl_GLWindow - * Method: nCreate - * Signature: (IIII)Z - */ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nCreate (JNIEnv * env, jclass clazz, jstring title, jint x, jint y, jint width, jint height, jboolean fullscreen, jint bpp, jint alpha, jint depth, jint stencil, jint samples) { @@ -490,18 +485,8 @@ if (!create_success) { XCloseDisplay(disp); extgl_Close(); - throwException(env, "Could not create window"); return; } -/* if (!extgl_Initialize(env, ext_set)) { - destroy(); - throwException(env, "Could not init gl function pointers"); - return; - } - if (ISDEBUGENABLED()) { - const GLubyte * extensions = glGetString(GL_EXTENSIONS); - printf("Supported extensions: %s\n", extensions); - }*/ } /* |