GL extensions fixes
This commit is contained in:
parent
c7eb254a5c
commit
d761ef648d
|
@ -70,6 +70,12 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_BaseGL_nCreate
|
||||||
return JNI_FALSE;
|
return JNI_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (extgl_Initialize() != 0) {
|
||||||
|
#ifdef _DEBUG
|
||||||
|
printf("Could not init gl function pointers\n");
|
||||||
|
#endif
|
||||||
|
return JNI_FALSE;
|
||||||
|
}
|
||||||
return JNI_TRUE;
|
return JNI_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
#include "org_lwjgl_opengl_CoreGL.h"
|
#include "org_lwjgl_opengl_CoreGL.h"
|
||||||
#include "checkGLerror.h"
|
#include "checkGLerror.h"
|
||||||
#include <GL/gl.h>
|
#include "extgl.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Class: org_lwjgl_opengl_CoreGL
|
* Class: org_lwjgl_opengl_CoreGL
|
||||||
|
|
Loading…
Reference in New Issue