aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl2_es2-common.cfg
blob: 89f30a941b7f8b0dc5ae1db2dd1b09da43ffe81b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 }