aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl2_es2-common.cfg
blob: d26c76ead1a54ac42ebddd25757d33b0077b0118 (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.isGLES2Compatible() ) {
JavaPrologue glReleaseShaderCompiler    return;
JavaPrologue glReleaseShaderCompiler }

JavaPrologue glShaderBinary if ( !_context.isGLES2Compatible() ) {
JavaPrologue glShaderBinary     throw new GLException("Method \"glShaderBinary\" not available");
JavaPrologue glShaderBinary }

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 }