diff --git a/src/java/org/lwjgl/Sys.java b/src/java/org/lwjgl/Sys.java index 2fa8b63f..ff974169 100644 --- a/src/java/org/lwjgl/Sys.java +++ b/src/java/org/lwjgl/Sys.java @@ -102,7 +102,6 @@ public final class Sys { } finally { DEBUG = _debug; initialize(); -// NULL = nGetNULLValue(); } } @@ -129,11 +128,6 @@ public final class Sys { setTime(0); } - /** - * Gets the native NULL constant value - */ -// private static native ByteBuffer nGetNULLValue(); - /** * Create a buffer representing an integer index. Use it with functions that in C can take * both a pointer and an integer argument, like the ARB_vertex_buffer_object extension specifies diff --git a/src/native/linux/org_lwjgl_Sys.cpp b/src/native/linux/org_lwjgl_Sys.cpp index bd8efb2e..61bdb7f3 100644 --- a/src/native/linux/org_lwjgl_Sys.cpp +++ b/src/native/linux/org_lwjgl_Sys.cpp @@ -48,17 +48,6 @@ long int hires_timer_freq; // Hires timer frequency long int hires_timer_start; // Hires timer start long int hires_timer; // Hires timer current time -/* - * Class: org_lwjgl_Sys - * Method: nGetNULLValue - * Signature: ()I - */ -/*JNIEXPORT jobject JNICALL Java_org_lwjgl_Sys_nGetNULLValue - (JNIEnv *env, jclass clazz) -{ - return env->NewDirectByteBuffer(NULL, 0); -} -*/ /* * Class: org_lwjgl_Sys * Method: createIndexBuffer diff --git a/src/native/win32/org_lwjgl_Sys.cpp b/src/native/win32/org_lwjgl_Sys.cpp index 9abc1860..3dd3cba0 100644 --- a/src/native/win32/org_lwjgl_Sys.cpp +++ b/src/native/win32/org_lwjgl_Sys.cpp @@ -49,17 +49,6 @@ __int64 hires_timer_freq; // Hires timer frequency __int64 hires_timer_start; // Hires timer start __int64 hires_timer; // Hires timer current time -/* - * Class: org_lwjgl_Sys - * Method: nGetNULLValue - * Signature: ()I - */ -/*JNIEXPORT jobject JNICALL Java_org_lwjgl_Sys_nGetNULLValue - (JNIEnv *env, jclass clazz) -{ - return env->NewDirectByteBuffer(NULL, 0); -} -*/ /* * Class: org_lwjgl_Sys * Method: createIndexBuffer