*** empty log message ***

This commit is contained in:
Elias Naur 2004-11-29 08:16:21 +00:00
parent 3ae8c81129
commit fd32c5b9b9
1 changed files with 1 additions and 1 deletions

View File

@ -2376,7 +2376,7 @@ static void JNICALL Java_org_lwjgl_opengl_GL11_glTexParameteri(JNIEnv * env, jcl
static void JNICALL Java_org_lwjgl_opengl_GL11_nglTexImage2D(JNIEnv * env, jclass clazz, jint p0, jint p1, jint p2, jint p3, jint p4, jint p5, jint p6, jint p7, jobject buffer, jint offset)
{
GLvoid *buffer_ptr = (GLvoid *)safeGetBufferAddress(env, buffer, offset);
glTexImage2D((GLint) p0, (GLint) p1, (GLint) p2, (GLint) p3, (GLint) p4, (GLint) p5, (GLint) p6, (GLint) p7, buffer);
glTexImage2D((GLint) p0, (GLint) p1, (GLint) p2, (GLint) p3, (GLint) p4, (GLint) p5, (GLint) p6, (GLint) p7, buffer_ptr);
}