diff options
Diffstat (limited to 'make/gl-gl2.cfg')
-rw-r--r-- | make/gl-gl2.cfg | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/make/gl-gl2.cfg b/make/gl-gl2.cfg index d7d0e736a..0c05b6114 100644 --- a/make/gl-gl2.cfg +++ b/make/gl-gl2.cfg @@ -42,46 +42,7 @@ CustomJavaCode GL2 public void glDepthRangef(float zNear, float zFar); CustomJavaCode GL2Impl public void glDepthRangef(float zNear, float zFar) { CustomJavaCode GL2Impl glDepthRange((double)zNear, (double)zFar); } -CustomCCode #if defined(_WIN32) -CustomCCode #define WIN32_LEAN_AND_MEAN -CustomCCode #include <windows.h> -CustomCCode #undef WIN32_LEAN_AND_MEAN -CustomCCode #include <stdlib.h> -CustomCCode #include <stddef.h> -CustomCCode #include <malloc.h> -CustomCCode /* Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in -CustomCCode "glext.h" are parsed. */ -CustomCCode #define GL_GLEXT_PROTOTYPES -CustomCCode /* Include the OpenGL headers */ -CustomCCode #include <GL/gl.h> -CustomCCode #elif defined(macosx) -CustomCCode #include <inttypes.h> -CustomCCode #include <stdlib.h> -CustomCCode /* Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in -CustomCCode "glext.h" are parsed. */ -CustomCCode #define GL_GLEXT_PROTOTYPES -CustomCCode /* Include the OpenGL headers */ -CustomCCode #include <GL/gl.h> -CustomCCode #include </usr/include/machine/types.h> -CustomCCode /* Provide Windows typedefs */ -CustomCCode typedef void* LPVOID; -CustomCCode typedef unsigned int* PUINT; -CustomCCode #elif defined(linux) || defined(__sun) || defined(__FreeBSD__) || defined(_HPUX) -CustomCCode #include <inttypes.h> -CustomCCode #include <stdlib.h> -CustomCCode #include <X11/Xlib.h> -CustomCCode /* Define GL_GLEXT_PROTOTYPES so that the OpenGL extension prototypes in -CustomCCode "glext.h" are parsed. */ -CustomCCode #define GL_GLEXT_PROTOTYPES -CustomCCode /* Define GLX_GLXEXT_PROTOTYPES so that the OpenGL extension prototypes in -CustomCCode "glxext.h" are parsed. */ -CustomCCode #define GLX_GLXEXT_PROTOTYPES -CustomCCode /* Include the OpenGL headers */ -CustomCCode #include <GL/gl.h> -CustomCCode #include <GL/glx.h> -CustomCCode #include <GL/glxext.h> -CustomCCode #endif - +Include gl-headers.cfg Include intptr.cfg IncludeAs CustomJavaCode GL2Impl gl-impl-CustomJavaCode-common.java @@ -91,4 +52,3 @@ IncludeAs CustomCCode gl-impl-CustomCCode.c Import javax.media.opengl.GLES1 Import javax.media.opengl.GLES2 Import javax.media.opengl.GL2 - |