diff options
author | Sven Gothel <[email protected]> | 2012-10-12 14:57:13 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-12 14:57:13 +0200 |
commit | 1e34dc6467d6309ae06dfe5ec317723a5b728789 (patch) | |
tree | f2d4d6a4a74f9cbafd0ea5c400be249a8e8439ea /make/config/jogl/gl2_es2-common.cfg | |
parent | f49f8e22953ed2426fd4264ee407e2dc3fc07cfc (diff) |
ES2Impl fix: Remove code which could imply recursion if !ES2Compatible (although impossible, but looks bad)
Diffstat (limited to 'make/config/jogl/gl2_es2-common.cfg')
-rw-r--r-- | make/config/jogl/gl2_es2-common.cfg | 10 |
1 files changed, 0 insertions, 10 deletions
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 } - |