summaryrefslogtreecommitdiffstats
path: root/src/demos/readbuffer/Surface2File.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/readbuffer/Surface2File.java')
-rwxr-xr-xsrc/demos/readbuffer/Surface2File.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/readbuffer/Surface2File.java b/src/demos/readbuffer/Surface2File.java
index 74fa637..2303a1c 100755
--- a/src/demos/readbuffer/Surface2File.java
+++ b/src/demos/readbuffer/Surface2File.java
@@ -51,7 +51,7 @@ public class Surface2File implements SurfaceUpdatedListener {
readBufferUtil.dispose();
}
- public void surfaceUpdated(Object updater, NativeWindow window, long when) {
+ public void surfaceUpdated(Object updater, NativeSurface surface, long when) {
if(updater instanceof GLDrawable) {
GLDrawable drawable = (GLDrawable) updater;
GLContext ctx = GLContext.getCurrent();