diff options
author | Kenneth Russel <[email protected]> | 2008-12-16 01:27:42 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-12-16 01:27:42 +0000 |
commit | 9c1d79a157d43d0644b13d9886578348e98c3e97 (patch) | |
tree | b4e09b46f1f8cb13c55dab3758855da0d46602ad /make | |
parent | b10e9220c7e6120397e00f6708cc2b5c376d21a0 (diff) |
Fixed bug in glMapBuffer native code generation and bug in
VertexBufferObject demo
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1821 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r-- | make/gl-impl-CustomCCode-gl2.c | 4 | ||||
-rw-r--r-- | make/gl-impl-CustomCCode-gl2es12.c | 4 | ||||
-rw-r--r-- | make/gl-impl-CustomCCode-gles1.c | 4 | ||||
-rw-r--r-- | make/gl-impl-CustomCCode-gles2.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/make/gl-impl-CustomCCode-gl2.c b/make/gl-impl-CustomCCode-gl2.c index 4764097c6..d6a051b36 100644 --- a/make/gl-impl-CustomCCode-gl2.c +++ b/make/gl-impl-CustomCCode-gl2.c @@ -1,10 +1,10 @@ /* Java->C glue code: - * Java package: net.java.games.jogl.impl.GLImpl + * Java package: com.sun.opengl.impl.gl2.GL2Impl * Java method: long dispatch_glMapBuffer(int target, int access) * C function: void * glMapBuffer(GLenum target, GLenum access); */ JNIEXPORT jlong JNICALL -Java_com_sun_opengl_impl_GL2Impl_dispatch_1glMapBuffer(JNIEnv *env, jobject _unused, jint target, jint access, jlong glProcAddress) { +Java_com_sun_opengl_impl_gl2_GL2Impl_dispatch_1glMapBuffer(JNIEnv *env, jobject _unused, jint target, jint access, jlong glProcAddress) { PFNGLMAPBUFFERPROC ptr_glMapBuffer; void * _res; ptr_glMapBuffer = (PFNGLMAPBUFFERPROC) (intptr_t) glProcAddress; diff --git a/make/gl-impl-CustomCCode-gl2es12.c b/make/gl-impl-CustomCCode-gl2es12.c index 62ce45b5c..e056672d3 100644 --- a/make/gl-impl-CustomCCode-gl2es12.c +++ b/make/gl-impl-CustomCCode-gl2es12.c @@ -1,10 +1,10 @@ /* Java->C glue code: - * Java package: net.java.games.jogl.impl.GLImpl + * Java package: com.sun.opengl.impl.gl2es12.GL2ES12Impl * Java method: long dispatch_glMapBuffer(int target, int access) * C function: void * glMapBuffer(GLenum target, GLenum access); */ JNIEXPORT jlong JNICALL -Java_com_sun_opengl_impl_GL2ES12Impl_dispatch_1glMapBuffer(JNIEnv *env, jobject _unused, jint target, jint access, jlong glProcAddress) { +Java_com_sun_opengl_impl_gl2es12_GL2ES12Impl_dispatch_1glMapBuffer(JNIEnv *env, jobject _unused, jint target, jint access, jlong glProcAddress) { PFNGLMAPBUFFERPROC ptr_glMapBuffer; void * _res; ptr_glMapBuffer = (PFNGLMAPBUFFERPROC) (intptr_t) glProcAddress; diff --git a/make/gl-impl-CustomCCode-gles1.c b/make/gl-impl-CustomCCode-gles1.c index caf804903..ca5e0374c 100644 --- a/make/gl-impl-CustomCCode-gles1.c +++ b/make/gl-impl-CustomCCode-gles1.c @@ -1,11 +1,11 @@ typedef GLvoid* (GL_APIENTRY* PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); /* Java->C glue code: - * Java package: net.java.games.jogl.impl.GLImpl + * Java package: com.sun.opengl.impl.es1.GLES1Impl * Java method: long dispatch_glMapBuffer(int target, int access) * C function: void * glMapBuffer(GLenum target, GLenum access); */ JNIEXPORT jlong JNICALL -Java_com_sun_opengl_impl_GLES1Impl_dispatch_1glMapBuffer(JNIEnv *env, jobject _unused, jint target, jint access, jlong glProcAddress) { +Java_com_sun_opengl_impl_es1_GLES1Impl_dispatch_1glMapBuffer(JNIEnv *env, jobject _unused, jint target, jint access, jlong glProcAddress) { PFNGLMAPBUFFERPROC ptr_glMapBuffer; void * _res; ptr_glMapBuffer = (PFNGLMAPBUFFERPROC) (intptr_t) glProcAddress; diff --git a/make/gl-impl-CustomCCode-gles2.c b/make/gl-impl-CustomCCode-gles2.c index 1be264bd9..a138d88cc 100644 --- a/make/gl-impl-CustomCCode-gles2.c +++ b/make/gl-impl-CustomCCode-gles2.c @@ -1,11 +1,11 @@ typedef GLvoid* (GL_APIENTRY* PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); /* Java->C glue code: - * Java package: net.java.games.jogl.impl.GLImpl + * Java package: com.sun.opengl.impl.es2.GLES2Impl * Java method: long dispatch_glMapBuffer(int target, int access) * C function: void * glMapBuffer(GLenum target, GLenum access); */ JNIEXPORT jlong JNICALL -Java_com_sun_opengl_impl_GLES2Impl_dispatch_1glMapBuffer(JNIEnv *env, jobject _unused, jint target, jint access, jlong glProcAddress) { +Java_com_sun_opengl_impl_es2_GLES2Impl_dispatch_1glMapBuffer(JNIEnv *env, jobject _unused, jint target, jint access, jlong glProcAddress) { PFNGLMAPBUFFERPROC ptr_glMapBuffer; void * _res; ptr_glMapBuffer = (PFNGLMAPBUFFERPROC) (intptr_t) glProcAddress; |