summaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-impl-CustomJavaCode-gles2.java
diff options
context:
space:
mode:
authorsg215889 <[email protected]>2009-07-30 22:09:24 -0700
committersg215889 <[email protected]>2009-07-30 22:09:24 -0700
commit9a4619d5ab1c0441dfb273d057e288b4bf4c6dbc (patch)
tree32a937f2eefbf31f6785b9e2bea805cb0f86cb6c /make/config/jogl/gl-impl-CustomJavaCode-gles2.java
parentcd0ec06b5e8a5ec39c8162e87d23c935b506021e (diff)
Fix SwapInterval (return value, check ctx current, egl), add getSwapInterval.
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gles2.java')
-rwxr-xr-xmake/config/jogl/gl-impl-CustomJavaCode-gles2.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles2.java b/make/config/jogl/gl-impl-CustomJavaCode-gles2.java
index b53715ae0..2f69905a9 100755
--- a/make/config/jogl/gl-impl-CustomJavaCode-gles2.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-gles2.java
@@ -105,6 +105,10 @@ public void setSwapInterval(int interval) {
_context.setSwapInterval(interval);
}
+public int getSwapInterval() {
+ return _context.getSwapInterval();
+}
+
public Object getPlatformGLExtensions() {
return _context.getPlatformGLExtensions();
}