diff options
Diffstat (limited to 'make/config/jogl/gl-gl3.cfg')
-rw-r--r-- | make/config/jogl/gl-gl3.cfg | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/make/config/jogl/gl-gl3.cfg b/make/config/jogl/gl-gl3.cfg index 576cd7cad..9f0ea05a8 100644 --- a/make/config/jogl/gl-gl3.cfg +++ b/make/config/jogl/gl-gl3.cfg @@ -43,6 +43,14 @@ LocalProcAddressCallingConvention __ALL__ APIENTRY # Pick up on-line OpenGL javadoc thanks to user cylab on javagaming.org forums TagNativeBinding true +# Add PixelStorei StateTracker +# +CustomJavaCode GL3Impl private static final int params_offset = 0; // just a helper for JavaPrologue .. + +JavaPrologue glPixelStorei glStateTracker.setInt(pname, param); + +JavaPrologue glGetIntegerv if ( glStateTracker.getInt(pname, params, params_offset) ) { return; } + CustomJavaCode GL3Impl public void glClearDepthf(float depth) { CustomJavaCode GL3Impl glClearDepth((double)depth); } |