aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-gl2es12.cfg
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-07-31 20:13:46 -0700
committerSven Gothel <[email protected]>2009-07-31 20:13:46 -0700
commit1394a508ab1191e4c200e68342a1b612ba7ff4cc (patch)
treedf9c6669fedb36b7cbc067ae43de2a48d1dfbbfa /make/config/jogl/gl-gl2es12.cfg
parent786b056afb90311a8c06a57fc24f242f8df713e1 (diff)
JOGL:
- GL2ES12: - Fix calling convention, broke on Windows. - Remove GL_APIENTRY on gl2/gl3 header: This was a bug. - Using proper GL2's APIENTRY - jogl.all.jar: Add missing shader code ..
Diffstat (limited to 'make/config/jogl/gl-gl2es12.cfg')
-rw-r--r--make/config/jogl/gl-gl2es12.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/config/jogl/gl-gl2es12.cfg b/make/config/jogl/gl-gl2es12.cfg
index c233ef4fd..27fa138d4 100644
--- a/make/config/jogl/gl-gl2es12.cfg
+++ b/make/config/jogl/gl-gl2es12.cfg
@@ -32,6 +32,10 @@ ForceProcAddressGen glMapBuffer
# depend on the presence of an import library for a particular device
ForceProcAddressGen __ALL__
+# Also force the calling conventions of the locally generated function
+# pointer typedefs for these routines to APIENTRY
+LocalProcAddressCallingConvention __ALL__ APIENTRY
+
EmitProcAddressTable true
ProcAddressTableClassName GL2ES12ProcAddressTable
GetProcAddressTableExpr ((GL2ES12ProcAddressTable)_context.getGLProcAddressTable())