summaryrefslogtreecommitdiffstats
path: root/make/config
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-06 06:42:20 +0100
committerSven Gothel <[email protected]>2010-11-06 06:42:20 +0100
commit63bb227bafd9704b8526bad2b0438955204a3c82 (patch)
tree3d4c1cbd7f19f2584aaff5f41fa3cc25c8d3e0f7 /make/config
parentf2623b8d6c540d5f98e5d2da671f734d41e3e942 (diff)
Fix: Changed variable names according to new GL header
Diffstat (limited to 'make/config')
-rw-r--r--make/config/jogl/gl2_es2-common.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/config/jogl/gl2_es2-common.cfg b/make/config/jogl/gl2_es2-common.cfg
index 47067f6f9..89f30a941 100644
--- a/make/config/jogl/gl2_es2-common.cfg
+++ b/make/config/jogl/gl2_es2-common.cfg
@@ -12,12 +12,12 @@ JavaPrologue glGetShaderPrecisionFormat throw new GLException("Method \"glGe
JavaPrologue glGetShaderPrecisionFormat }
JavaPrologue glDepthRangef if ( !_context.hasNativeES2Methods() ) {
-JavaPrologue glDepthRangef glDepthRange( (double)n, (double)f );
+JavaPrologue glDepthRangef glDepthRange( (double)zNear, (double)zFar );
JavaPrologue glDepthRangef return;
JavaPrologue glDepthRangef }
JavaPrologue glClearDepthf if ( !_context.hasNativeES2Methods() ) {
-JavaPrologue glClearDepthf glClearDepth( (double)d );
+JavaPrologue glClearDepthf glClearDepth( (double)depth );
JavaPrologue glClearDepthf return;
JavaPrologue glClearDepthf }