summaryrefslogtreecommitdiffstats
path: root/make/config/jogl
diff options
context:
space:
mode:
authorsg215889 <[email protected]>2009-07-17 13:32:31 -0700
committersg215889 <[email protected]>2009-07-17 13:32:31 -0700
commit91c86f37d9b35b892873f642985c960d62f6ee68 (patch)
treeb4c04f709999c014f4165b561d927eeb34f57e9a /make/config/jogl
parent88cc61ba1b5bb874ca9b2a172f7dae187f0f3b17 (diff)
Fix glPixelStorei pname check - Thx to Chris Campbell
Diffstat (limited to 'make/config/jogl')
-rw-r--r--make/config/jogl/gl-gl2es12.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/config/jogl/gl-gl2es12.cfg b/make/config/jogl/gl-gl2es12.cfg
index d304cdd69..c233ef4fd 100644
--- a/make/config/jogl/gl-gl2es12.cfg
+++ b/make/config/jogl/gl-gl2es12.cfg
@@ -48,8 +48,8 @@ Ignore glPixelStoref
# Add input validation to glPixelStorei to make sure that, even if we
# are running on top of desktop OpenGL, parameters not exposed in
# OpenGL ES can not be changed
-JavaPrologue glPixelStorei if (param != GL_PACK_ALIGNMENT && param != GL_UNPACK_ALIGNMENT) {
-JavaPrologue glPixelStorei throw new GLException("Unsupported pixel store parameter 0x" + Integer.toHexString(param));
+JavaPrologue glPixelStorei if (pname != GL_PACK_ALIGNMENT && pname != GL_UNPACK_ALIGNMENT) {
+JavaPrologue glPixelStorei throw new GLException("Unsupported pixel store parameter name 0x" + Integer.toHexString(param));
JavaPrologue glPixelStorei }
CustomJavaCode GL2ES12Impl public void glFrustumf(float left, float right, float bottom, float top, float zNear, float zFar) {