summaryrefslogtreecommitdiffstats
path: root/src/demos/readbuffer/ReadBufferBase.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/readbuffer/ReadBufferBase.java')
-rwxr-xr-xsrc/demos/readbuffer/ReadBufferBase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/readbuffer/ReadBufferBase.java b/src/demos/readbuffer/ReadBufferBase.java
index 6922f02..d392d1c 100755
--- a/src/demos/readbuffer/ReadBufferBase.java
+++ b/src/demos/readbuffer/ReadBufferBase.java
@@ -80,7 +80,7 @@ public class ReadBufferBase implements GLEventListener {
}
public void dispose(GLAutoDrawable drawable) {
- readBufferUtil.dispose();
+ readBufferUtil.dispose(drawable.getGL());
}
public void display(GLAutoDrawable drawable) {