summaryrefslogtreecommitdiffstats
path: root/src/demos/readbuffer/Main.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-10-08 02:49:00 +0200
committerSven Gothel <[email protected]>2010-10-08 02:49:00 +0200
commit0d1ea8ae8eb940b1b29f4f80c232a1d456300362 (patch)
tree57569ffed445e603934b7046aaeba1141f1bf026 /src/demos/readbuffer/Main.java
parentcf07f2f4b8340a214d7267b9916e3f68e046094c (diff)
syn with JOGL 018c7e8660dc0af68bd129be9af5094d04d0b431
Diffstat (limited to 'src/demos/readbuffer/Main.java')
-rwxr-xr-xsrc/demos/readbuffer/Main.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/readbuffer/Main.java b/src/demos/readbuffer/Main.java
index 44b665c..8c18e08 100755
--- a/src/demos/readbuffer/Main.java
+++ b/src/demos/readbuffer/Main.java
@@ -12,8 +12,8 @@ public class Main implements WindowListener, MouseListener, SurfaceUpdatedListen
public boolean quit = false;
public GLWindow window = null;
- public void surfaceUpdated(Object updater, NativeWindow window, long when) {
- if(null!=window) {
+ public void surfaceUpdated(Object updater, NativeSurface surface, long when) {
+ if(null!=surface) {
this.window.display();
}
}