aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/OpenGL_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'CNativeCode/OpenGL_misc.h')
-rw-r--r--CNativeCode/OpenGL_misc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/CNativeCode/OpenGL_misc.h b/CNativeCode/OpenGL_misc.h
index 2312d8c..368e2f7 100644
--- a/CNativeCode/OpenGL_misc.h
+++ b/CNativeCode/OpenGL_misc.h
@@ -22,6 +22,19 @@
#define LIBAPI
#endif
+ #ifndef USE_64BIT_POINTER
+ typedef int PointerHolder;
+ #else
+ typedef long PointerHolder;
+ #endif
+
+ /* testJavaGLTypes does important implementation plattformspecific checks:
+ *
+ * o do fit the JNI <-> GL Variables-Type Mapping
+ * o IF ERROR OR VERBOSE -> DUMP JNI,GL Type-Length
+ */
+ LIBAPI jboolean LIBAPIENTRY testJavaGLTypes(jboolean verbose);
+
LIBAPI void * LIBAPIENTRY getGLProcAddressHelper
(const char * func, int * method,
int debug, int verbose );