1 2 3 4 5 6 7 8 9 10
#ifdef __APPLE__ #include <OpenGL/gl.h> #else #ifdef WIN32 #include <windows.h> #endif #include <GL/gl.h> #endif extern int IS_JNI_1_2;