diff options
author | sg215889 <[email protected]> | 2009-07-30 22:09:24 -0700 |
---|---|---|
committer | sg215889 <[email protected]> | 2009-07-30 22:09:24 -0700 |
commit | 9a4619d5ab1c0441dfb273d057e288b4bf4c6dbc (patch) | |
tree | 32a937f2eefbf31f6785b9e2bea805cb0f86cb6c /make/config/jogl/gl-impl-CustomJavaCode-gl2.java | |
parent | cd0ec06b5e8a5ec39c8162e87d23c935b506021e (diff) |
Fix SwapInterval (return value, check ctx current, egl), add getSwapInterval.
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gl2.java')
-rw-r--r-- | make/config/jogl/gl-impl-CustomJavaCode-gl2.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gl2.java b/make/config/jogl/gl-impl-CustomJavaCode-gl2.java index 5aec51fc7..061830cb4 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-gl2.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gl2.java @@ -126,6 +126,10 @@ public void setSwapInterval(int interval) { _context.setSwapInterval(interval); } +public int getSwapInterval() { + return _context.getSwapInterval(); +} + public Object getPlatformGLExtensions() { return _context.getPlatformGLExtensions(); } |