aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-impl-CustomJavaCode-gles1.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-gles1.java
parentcd0ec06b5e8a5ec39c8162e87d23c935b506021e (diff)
Fix SwapInterval (return value, check ctx current, egl), add getSwapInterval.
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gles1.java')
-rwxr-xr-xmake/config/jogl/gl-impl-CustomJavaCode-gles1.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java
index 5141376df..65236676a 100755
--- a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java
@@ -101,6 +101,10 @@ public void setSwapInterval(int interval) {
_context.setSwapInterval(interval);
}
+public int getSwapInterval() {
+ return _context.getSwapInterval();
+}
+
public Object getPlatformGLExtensions() {
return _context.getPlatformGLExtensions();
}