aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-es2.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-06 06:44:41 +0100
committerSven Gothel <[email protected]>2010-11-06 06:44:41 +0100
commit4510ea5b74ffda4540a6221eef3b9e230e155c1c (patch)
treeaf1f3bcf8defb637b7bdf3c103d49ef82b739cb4 /make/config/jogl/gl-es2.cfg
parent63bb227bafd9704b8526bad2b0438955204a3c82 (diff)
Fix GL profile sets for gluegen code generation according to the updated headers.
Needs GlueGen 6b6b9b3b81cdc85b7260664ebec547756a6be5d7, branch sgothel_wip_fixes01. I have manually veryfied all changes of the generated GL header - OK!
Diffstat (limited to 'make/config/jogl/gl-es2.cfg')
-rw-r--r--make/config/jogl/gl-es2.cfg6
1 files changed, 5 insertions, 1 deletions
diff --git a/make/config/jogl/gl-es2.cfg b/make/config/jogl/gl-es2.cfg
index 14498d0b9..9caa3b7f7 100644
--- a/make/config/jogl/gl-es2.cfg
+++ b/make/config/jogl/gl-es2.cfg
@@ -22,6 +22,9 @@ Include gl-common.cfg
Include gl-common-extensions.cfg
Include gl2_es2-common.cfg
+RenameExtensionIntoCore GL_OES_texture_3D
+RenameExtensionIntoCore GL_OES_get_program_binary
+
EmitProcAddressTable true
ProcAddressTableClassName GLES2ProcAddressTable
GetProcAddressTableExpr ((GLES2ProcAddressTable)_context.getGLProcAddressTable())
@@ -65,6 +68,7 @@ CustomCCode #define GL_GLEXT_PROTOTYPES
CustomCCode /* Include the OpenGL headers */
CustomCCode /* #define GL_APICALL __declspec(dllimport) */
+CustomCCode #include <GLES2/gl2.h>
CustomCCode #include <GLES2/gl2ext.h>
CustomCCode #include <stdlib.h>
Include ../intptr.cfg
@@ -80,6 +84,6 @@ Import javax.media.opengl.GLES2
Import javax.media.opengl.GL2
Import javax.media.opengl.GLArrayData
Import javax.media.opengl.GLUniformData
-Import com.jogamp.common.nio.Buffers;
+Import com.jogamp.common.nio.Buffers
Import java.io.PrintStream