diff --git a/src/java/org/lwjgl/opengl/CoreGL.java b/src/java/org/lwjgl/opengl/CoreGL.java index d6b583c2..fa448398 100644 --- a/src/java/org/lwjgl/opengl/CoreGL.java +++ b/src/java/org/lwjgl/opengl/CoreGL.java @@ -104,8 +104,8 @@ public class CoreGL implements CoreGLConstants { public static native void glCopyTexImage2D(int target, int level, int internalFormat, int x, int y, int width, int height, int border); public static native void glCopyTexImage1D(int target, int level, int internalFormat, int x, int y, int width, int border); /* OpenGL 1.2 functions */ - public static native void glColorTableParameteriv(int target, int pname, int params); - public static native void glColorTableParameterfv(int target, int pname, int params); + public static native void glColorTableParameteriv(int target, int pname, IntBuffer params); + public static native void glColorTableParameterfv(int target, int pname, FloatBuffer params); public static native void glCopyColorSubTable(int target, int start, int x, int y, int width); public static native void glCopyColorTable(int target, int internalformat, int x, int y, int width); public static native void glBlendEquation(int mode); diff --git a/src/native/common/org_lwjgl_opengl_CoreGL.h b/src/native/common/org_lwjgl_opengl_CoreGL.h index 6433ff28..4d0cbec4 100644 --- a/src/native/common/org_lwjgl_opengl_CoreGL.h +++ b/src/native/common/org_lwjgl_opengl_CoreGL.h @@ -7,9 +7,6 @@ #ifdef __cplusplus extern "C" { #endif -/* Inaccessible static: _00024assertionsDisabled */ -/* Inaccessible static: currentWindow */ -/* Inaccessible static: class_00024org_00024lwjgl_00024Window */ /* * Class: org_lwjgl_opengl_CoreGL * Method: glAccum @@ -237,18 +234,18 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL_glCopyTexImage1D /* * Class: org_lwjgl_opengl_CoreGL * Method: glColorTableParameteriv - * Signature: (III)V + * Signature: (IILjava/nio/IntBuffer;)V */ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL_glColorTableParameteriv - (JNIEnv *, jclass, jint, jint, jint); + (JNIEnv *, jclass, jint, jint, jobject); /* * Class: org_lwjgl_opengl_CoreGL * Method: glColorTableParameterfv - * Signature: (III)V + * Signature: (IILjava/nio/FloatBuffer;)V */ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL_glColorTableParameterfv - (JNIEnv *, jclass, jint, jint, jint); + (JNIEnv *, jclass, jint, jint, jobject); /* * Class: org_lwjgl_opengl_CoreGL