/[gzz]/gzz/gfx/jni/GzzGL-jni.cxx
ViewVC logotype

Diff of /gzz/gfx/jni/GzzGL-jni.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.53 by jvk, Mon Oct 21 06:56:08 2002 UTC revision 1.54 by tjl, Wed Oct 23 13:45:37 2002 UTC
# Line 537  JNIEXPORT void JNICALL Java_gzz_gfx_gl_G Line 537  JNIEXPORT void JNICALL Java_gzz_gfx_gl_G
537    
538  }  }
539    
540    JNIEXPORT void JNICALL Java_gzz_gfx_gl_GL_impl_1Texture_1copyTexImage2D(
541        JNIEnv *env, jclass, jint id, jstring bufferstr,
542        jstring targetstr, jint level,
543        jstring iforstring, jint x, jint y, jint w, jint h,
544        jint border) {
545        GLenum buffer = tokenFromJstring(env, bufferstr);
546        GLenum target = tokenFromJstring(env, targetstr);
547        GLenum ifor = tokenFromJstring(env, iforstring);
548        glBindTexture(target, id);
549        glReadBuffer(buffer);
550        glCopyTexImage2D(target, level, ifor, x, y, w, h, border);
551        glBindTexture(target, 0);
552        GLERR
553    }
554    
555  JNIEXPORT jint JNICALL Java_gzz_gfx_gl_GL_impl_1Texture_1shade  JNIEXPORT jint JNICALL Java_gzz_gfx_gl_GL_impl_1Texture_1shade
556    (JNIEnv *env, jclass, jint id, jint w, jint h, jint d, jint comp,    (JNIEnv *env, jclass, jint id, jint w, jint h, jint d, jint comp,
557          jstring internalFormat,          jstring internalFormat,

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26