From bb540708a4e769cd7c2434a121b0641b29d53d10 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 6 Sep 2004 10:21:34 +0000 Subject: [PATCH] Removed commented out code --- src/native/common/org_lwjgl_opengl_GLContext.h | 5 ++++- src/native/linux/org_lwjgl_input_Mouse.cpp | 4 ---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/native/common/org_lwjgl_opengl_GLContext.h b/src/native/common/org_lwjgl_opengl_GLContext.h index 7ae822e4..49e848a7 100644 --- a/src/native/common/org_lwjgl_opengl_GLContext.h +++ b/src/native/common/org_lwjgl_opengl_GLContext.h @@ -8,11 +8,12 @@ extern "C" { #endif /* Inaccessible static: currentContext */ -/* Inaccessible static: GL_ARB_imaging */ /* Inaccessible static: GL_ARB_depth_texture */ +/* Inaccessible static: GL_ARB_draw_buffers */ /* Inaccessible static: GL_ARB_fragment_program */ /* Inaccessible static: GL_ARB_fragment_program_shadow */ /* Inaccessible static: GL_ARB_fragment_shader */ +/* Inaccessible static: GL_ARB_imaging */ /* Inaccessible static: GL_ARB_matrix_palette */ /* Inaccessible static: GL_ARB_multisample */ /* Inaccessible static: GL_ARB_multitexture */ @@ -32,6 +33,7 @@ extern "C" { /* Inaccessible static: GL_ARB_texture_env_dot3 */ /* Inaccessible static: GL_ARB_texture_mirrored_repeat */ /* Inaccessible static: GL_ARB_texture_non_power_of_two */ +/* Inaccessible static: GL_ARB_texture_rectangle */ /* Inaccessible static: GL_ARB_transpose_matrix */ /* Inaccessible static: GL_ARB_vertex_blend */ /* Inaccessible static: GL_ARB_vertex_buffer_object */ @@ -123,6 +125,7 @@ extern "C" { /* Inaccessible static: exts */ /* Inaccessible static: gl_ref_count */ /* Inaccessible static: did_auto_load */ +/* Inaccessible static: loaded_stubs */ /* Inaccessible static: class_00024org_00024lwjgl_00024opengl_00024GLContext */ /* Inaccessible static: class_00024org_00024lwjgl_00024opengl_00024GL11 */ /* diff --git a/src/native/linux/org_lwjgl_input_Mouse.cpp b/src/native/linux/org_lwjgl_input_Mouse.cpp index b7ad8cb9..b7653593 100644 --- a/src/native/linux/org_lwjgl_input_Mouse.cpp +++ b/src/native/linux/org_lwjgl_input_Mouse.cpp @@ -196,8 +196,6 @@ static void warpPointer(void) { JNIEXPORT jint JNICALL Java_org_lwjgl_input_Mouse_nGetNativeCursorCaps (JNIEnv *env, jclass clazz) { int caps = 0; -/* if (!isXcursorLoaded()) - return caps;*/ XcursorBool argb_supported = XcursorSupportsARGB(getDisplay()); XcursorBool anim_supported = XcursorSupportsAnim(getDisplay()); if (argb_supported) @@ -263,14 +261,12 @@ JNIEXPORT void JNICALL Java_org_lwjgl_input_Mouse_nCreate buffer_enabled = false; updatePointerGrab(); initEventQueue(&event_queue); -// loadXcursor(); doWarpPointer(); } JNIEXPORT void JNICALL Java_org_lwjgl_input_Mouse_nDestroy (JNIEnv * env, jclass clazz) { -// closeXcursor(); ungrabPointer(); XFreeCursor(getDisplay(), blank_cursor); created = false;