summaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl2_es2-common.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/config/jogl/gl2_es2-common.cfg')
-rw-r--r--make/config/jogl/gl2_es2-common.cfg26
1 files changed, 7 insertions, 19 deletions
diff --git a/make/config/jogl/gl2_es2-common.cfg b/make/config/jogl/gl2_es2-common.cfg
index d26c76ead..2ad7fd3fd 100644
--- a/make/config/jogl/gl2_es2-common.cfg
+++ b/make/config/jogl/gl2_es2-common.cfg
@@ -1,23 +1,11 @@
-JavaPrologue glReleaseShaderCompiler if ( !_context.isGLES2Compatible() ) {
-JavaPrologue glReleaseShaderCompiler return;
-JavaPrologue glReleaseShaderCompiler }
+RenameExtensionIntoCore GL_KHR_debug
+RenameExtensionIntoCore GL_OES_texture_3D
+RenameExtensionIntoCore GL_OES_get_program_binary
+RenameExtensionIntoCore GL_OES_required_internalformat
+RenameExtensionIntoCore GL_EXT_unpack_subimage
-JavaPrologue glShaderBinary if ( !_context.isGLES2Compatible() ) {
-JavaPrologue glShaderBinary throw new GLException("Method \"glShaderBinary\" not available");
-JavaPrologue glShaderBinary }
+ForceExtension GL_EXT_occlusion_query_boolean
-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 }
+ForceExtension GL_ARB_ES2_compatibility