Various linux fixes

This commit is contained in:
Elias Naur 2003-03-21 23:28:00 +00:00
parent 24db98e43a
commit a7ec7cda5b
5 changed files with 22 additions and 23 deletions

View file

@ -47,7 +47,7 @@ extern XVisualInfo * getVisualInfo(void);
extern Window win;
extern Display * disp;
extern void handleMessages();
extern void handleMessages(JNIEnv* env);
static void makeCurrent(void) {
glXMakeCurrent(disp, win, context);
@ -115,7 +115,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_BaseGL_nDestroy
*/
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_BaseGL_swapBuffers(JNIEnv * env, jobject obj)
{
handleMessages();
handleMessages(env);
glXSwapBuffers(disp, win);
}