summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-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 }