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.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/readbuffer/Surface2File.java b/src/demos/readbuffer/Surface2File.java
index 2303a1c..051094c 100755
--- a/src/demos/readbuffer/Surface2File.java
+++ b/src/demos/readbuffer/Surface2File.java
@@ -47,8 +47,8 @@ public class Surface2File implements SurfaceUpdatedListener {
ReadBufferUtil readBufferUtil = new ReadBufferUtil();
int shotNum=0;
- public void dispose() {
- readBufferUtil.dispose();
+ public void dispose(GL gl) {
+ readBufferUtil.dispose(gl);
}
public void surfaceUpdated(Object updater, NativeSurface surface, long when) {