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.cfg23
1 files changed, 23 insertions, 0 deletions
diff --git a/make/config/jogl/gl2_es2-common.cfg b/make/config/jogl/gl2_es2-common.cfg
new file mode 100644
index 000000000..89f30a941
--- /dev/null
+++ b/make/config/jogl/gl2_es2-common.cfg
@@ -0,0 +1,23 @@
+
+JavaPrologue glReleaseShaderCompiler if ( !_context.hasNativeES2Methods() ) {
+JavaPrologue glReleaseShaderCompiler return;
+JavaPrologue glReleaseShaderCompiler }
+
+JavaPrologue glShaderBinary if ( !_context.hasNativeES2Methods() ) {
+JavaPrologue glShaderBinary throw new GLException("Method \"glShaderBinary\" not available");
+JavaPrologue glShaderBinary }
+
+JavaPrologue glGetShaderPrecisionFormat if ( !_context.hasNativeES2Methods() ) {
+JavaPrologue glGetShaderPrecisionFormat throw new GLException("Method \"glGetShaderPrecisionFormat\" not available");
+JavaPrologue glGetShaderPrecisionFormat }
+
+JavaPrologue glDepthRangef if ( !_context.hasNativeES2Methods() ) {
+JavaPrologue glDepthRangef glDepthRange( (double)zNear, (double)zFar );
+JavaPrologue glDepthRangef return;
+JavaPrologue glDepthRangef }
+
+JavaPrologue glClearDepthf if ( !_context.hasNativeES2Methods() ) {
+JavaPrologue glClearDepthf glClearDepth( (double)depth );
+JavaPrologue glClearDepthf return;
+JavaPrologue glClearDepthf }
+