|
From: <eli...@us...> - 2004-02-15 15:34:21
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19325/src/native/common Modified Files: extgl.cpp extgl.h org_lwjgl_opengl_GL15.cpp org_lwjgl_opengl_Window.h Log Message: Added GLX_ARB_multisample support Index: extgl.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/extgl.cpp,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- extgl.cpp 15 Feb 2004 15:20:31 -0000 1.17 +++ extgl.cpp 15 Feb 2004 15:27:01 -0000 1.18 @@ -1075,6 +1075,7 @@ extgl_Extensions.GLX_EXT_visual_info = GLXQueryExtension(env, ext_set, disp, screen, "GLX_EXT_visual_info"); extgl_Extensions.GLX_EXT_visual_rating = GLXQueryExtension(env, ext_set, disp, screen, "GLX_EXT_visual_rating"); extgl_Extensions.GLX_SGI_swap_control = GLXQueryExtension(env, ext_set, disp, screen, "GLX_SGI_swap_control"); + extgl_Extensions.GLX_ARB_multisample = GLXQueryExtension(env, ext_set, disp, screen, "GLX_ARB_multisample"); } static void extgl_InitGLXSGISwapControl(JNIEnv *env, jobject ext_set) Index: extgl.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/extgl.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- extgl.h 15 Feb 2004 15:20:32 -0000 1.24 +++ extgl.h 15 Feb 2004 15:27:01 -0000 1.25 @@ -3161,6 +3161,7 @@ bool GLX_EXT_visual_info; bool GLX_EXT_visual_rating; bool GLX_SGI_swap_control; + bool GLX_ARB_multisample; #endif /* X11 */ bool OpenGL12; Index: org_lwjgl_opengl_GL15.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/org_lwjgl_opengl_GL15.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- org_lwjgl_opengl_GL15.cpp 15 Feb 2004 15:21:24 -0000 1.1 +++ org_lwjgl_opengl_GL15.cpp 15 Feb 2004 15:27:01 -0000 1.2 @@ -359,4 +359,5 @@ GLuint *params_ptr = (GLuint *)env->GetDirectBufferAddress(params) + paramsOffset; glGetQueryObjectuiv(id, pname, params_ptr); CHECK_GL_ERROR -} \ No newline at end of file +} + Index: org_lwjgl_opengl_Window.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/org_lwjgl_opengl_Window.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- org_lwjgl_opengl_Window.h 25 Nov 2003 22:34:04 -0000 1.9 +++ org_lwjgl_opengl_Window.h 15 Feb 2004 15:27:01 -0000 1.10 @@ -14,10 +14,6 @@ /* Inaccessible static: width */ /* Inaccessible static: height */ /* Inaccessible static: title */ -/* Inaccessible static: color */ -/* Inaccessible static: alpha */ -/* Inaccessible static: depth */ -/* Inaccessible static: stencil */ /* Inaccessible static: fullscreen */ /* Inaccessible static: vsync */ /* Inaccessible static: vbo_tracker */ @@ -90,10 +86,10 @@ /* * Class: org_lwjgl_opengl_Window * Method: nCreate - * Signature: (Ljava/lang/String;IIIIZIIIILjava/util/HashSet;)V + * Signature: (Ljava/lang/String;IIIIZIIIIILjava/util/HashSet;)V */ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nCreate - (JNIEnv *, jclass, jstring, jint, jint, jint, jint, jboolean, jint, jint, jint, jint, jobject); + (JNIEnv *, jclass, jstring, jint, jint, jint, jint, jboolean, jint, jint, jint, jint, jint, jobject); /* * Class: org_lwjgl_opengl_Window |