Fixed two missing int->Buffer conversions

This commit is contained in:
Elias Naur 2003-07-20 16:29:17 +00:00
parent 820f622f73
commit 8202ff4717
2 changed files with 6 additions and 9 deletions

View File

@ -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);

View File

@ -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