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.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/CNativeCode/OpenGL_misc.h b/CNativeCode/OpenGL_misc.h
new file mode 100644
index 0000000..2312d8c
--- /dev/null
+++ b/CNativeCode/OpenGL_misc.h
@@ -0,0 +1,28 @@
+
+#ifndef OPENGLMISC
+ #define OPENGLMISC
+
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stdarg.h>
+
+ #ifdef _WIN32_
+ #include "winstuff.h"
+ #endif
+
+ #include <jni.h>
+
+ #include<GL/gl.h>
+ #include <GL/glu.h>
+
+ #ifndef LIBAPIENTRY
+ #define LIBAPIENTRY
+ #endif
+ #ifndef LIBAPI
+ #define LIBAPI
+ #endif
+
+ LIBAPI void * LIBAPIENTRY getGLProcAddressHelper
+ (const char * func, int * method,
+ int debug, int verbose );
+#endif