/[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.14 by tjl, Wed Sep 4 08:12:09 2002 UTC revision 1.15 by tjl, Thu Sep 12 15:30:04 2002 UTC
# Line 320  JNIEXPORT jint JNICALL Java_gzz_gfx_gl_G Line 320  JNIEXPORT jint JNICALL Java_gzz_gfx_gl_G
320      img->loadInto(*t, 0, 0, w, h);      img->loadInto(*t, 0, 0, w, h);
321      mosaicbuilder->prepare();      mosaicbuilder->prepare();
322      releaseWindow();      releaseWindow();
323      DBG(dbg) << "Created tex rect\n";      DBG(dbg) << "Created tex rect, in "<<t->getRect().tex<<"\n";
324      return imagetiles.add(t);      return imagetiles.add(t);
325  }  }
326    
# Line 334  JNIEXPORT void JNICALL Java_gzz_gfx_gl_G Line 334  JNIEXPORT void JNICALL Java_gzz_gfx_gl_G
334  JNIEXPORT jint JNICALL Java_gzz_gfx_gl_GZZGL_getTexRectTexID  JNIEXPORT jint JNICALL Java_gzz_gfx_gl_GZZGL_getTexRectTexID
335    (JNIEnv *, jclass, jint id)    (JNIEnv *, jclass, jint id)
336  {  {
337      return imagetiles[id]->getRect().tex;      return imagetiles[id]->getRect().tex.getTexId();
338  }  }
339    
340  JNIEXPORT jdouble JNICALL Java_gzz_gfx_gl_GZZGL_getTexRectTexCoord  JNIEXPORT jdouble JNICALL Java_gzz_gfx_gl_GZZGL_getTexRectTexCoord

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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