From 1e34dc6467d6309ae06dfe5ec317723a5b728789 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 12 Oct 2012 14:57:13 +0200 Subject: ES2Impl fix: Remove code which could imply recursion if !ES2Compatible (although impossible, but looks bad) --- make/config/jogl/gl2_es2-common.cfg | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'make/config/jogl/gl2_es2-common.cfg') diff --git a/make/config/jogl/gl2_es2-common.cfg b/make/config/jogl/gl2_es2-common.cfg index d26c76ead..b769f3b29 100644 --- a/make/config/jogl/gl2_es2-common.cfg +++ b/make/config/jogl/gl2_es2-common.cfg @@ -11,13 +11,3 @@ JavaPrologue glGetShaderPrecisionFormat if ( !_context.isGLES2Compatible() ) { JavaPrologue glGetShaderPrecisionFormat throw new GLException("Method \"glGetShaderPrecisionFormat\" not available"); JavaPrologue glGetShaderPrecisionFormat } -JavaPrologue glDepthRangef if ( !_context.isGLES2Compatible() ) { -JavaPrologue glDepthRangef glDepthRange( (double)zNear, (double)zFar ); -JavaPrologue glDepthRangef return; -JavaPrologue glDepthRangef } - -JavaPrologue glClearDepthf if ( !_context.isGLES2Compatible() ) { -JavaPrologue glClearDepthf glClearDepth( (double)depth ); -JavaPrologue glClearDepthf return; -JavaPrologue glClearDepthf } - -- cgit v1.2.3