GL extensions fixes

This commit is contained in:
Elias Naur 2002-11-18 20:22:01 +00:00
parent c7eb254a5c
commit d761ef648d
2 changed files with 7 additions and 1 deletions

View File

@ -70,6 +70,12 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_BaseGL_nCreate
return JNI_FALSE;
}
if (extgl_Initialize() != 0) {
#ifdef _DEBUG
printf("Could not init gl function pointers\n");
#endif
return JNI_FALSE;
}
return JNI_TRUE;
}

View File

@ -41,7 +41,7 @@
#include "org_lwjgl_opengl_CoreGL.h"
#include "checkGLerror.h"
#include <GL/gl.h>
#include "extgl.h"
/*
* Class: org_lwjgl_opengl_CoreGL