aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-06-28 14:36:25 +0200
committerSven Gothel <[email protected]>2011-06-28 14:36:25 +0200
commit3039c6edca8028252ddf578d36297d4461d50bd7 (patch)
tree7dbcb762ccd1a4ef81dfd5722544297b5d5da2e5 /src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
parentfa6c68204570ceb2f4bc051d983cb6b95300a053 (diff)
parent3e75f3f7c0b7339547ee3cf3da2e68599dd68b53 (diff)
Fix merge w/ latest mbien/master
Diffstat (limited to 'src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java')
-rw-r--r--src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java b/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
index 19f9e42..8fb4c9f 100644
--- a/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
+++ b/src/com/jogamp/opencl/demos/joglinterop/GLCLInteroperabilityDemo.java
@@ -81,7 +81,7 @@ public class GLCLInteroperabilityDemo implements GLEventListener {
// ib.rewind();
SwingUtilities.invokeLater(new Runnable() {
- public void run() {
+ @Override public void run() {
initUI();
}
});
@@ -111,6 +111,7 @@ public class GLCLInteroperabilityDemo implements GLEventListener {
}
+ @Override
public void init(GLAutoDrawable drawable) {
if(clContext == null) {
@@ -198,6 +199,7 @@ public class GLCLInteroperabilityDemo implements GLEventListener {
}
+ @Override
public void display(GLAutoDrawable drawable) {
GL2 gl = drawable.getGL().getGL2();
@@ -266,6 +268,7 @@ public class GLCLInteroperabilityDemo implements GLEventListener {
}
+ @Override
public void reshape(GLAutoDrawable drawable, int arg1, int arg2, int width, int height) {
this.width = width;
this.height = height;
@@ -274,6 +277,7 @@ public class GLCLInteroperabilityDemo implements GLEventListener {
pushPerspectiveView(gl);
}
+ @Override
public void dispose(GLAutoDrawable drawable) { }
public static void main(String[] args) {