fix: compile bug, since glx* didn't return value

This commit is contained in:
Brian Matzon 2003-03-13 19:54:44 +00:00
parent 229da7e9d6
commit 458fcdc480
1 changed files with 2 additions and 0 deletions

View File

@ -4082,6 +4082,8 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_opengl_GL_glXAllocateMemoryNV(JNIEnv * env
#ifdef _X11
jint ret = (jint) glXAllocateMemoryNV((GLint) p0, (GLfloat) p1, (GLfloat) p2, (GLfloat) p3);
return ret;
#else
return -1;
#endif
}