diff options
Diffstat (limited to 'src/demos/vertexBufferObject/VertexBufferObject.java')
-rw-r--r-- | src/demos/vertexBufferObject/VertexBufferObject.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demos/vertexBufferObject/VertexBufferObject.java b/src/demos/vertexBufferObject/VertexBufferObject.java index 060fd62..f6dab6c 100644 --- a/src/demos/vertexBufferObject/VertexBufferObject.java +++ b/src/demos/vertexBufferObject/VertexBufferObject.java @@ -271,7 +271,7 @@ public class VertexBufferObject { class VBOListener implements GLEventListener { boolean exiting = false; - public void init(GLDrawable drawable) { + public void init(GLAutoDrawable drawable) { // drawable.setGL(new TraceGL(drawable.getGL(), System.err)); // drawable.setGL(new DebugGL(drawable.getGL())); @@ -450,7 +450,7 @@ public class VertexBufferObject { } } - public void display(GLDrawable drawable) { + public void display(GLAutoDrawable drawable) { // Don't try to do OpenGL operations if we're tearing things down if (quit) { return; @@ -677,10 +677,10 @@ public class VertexBufferObject { } } - public void reshape(GLDrawable drawable, int x, int y, int width, int height) {} + public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) {} // Unused routines - public void displayChanged(GLDrawable drawable, boolean modeChanged, boolean deviceChanged) {} + public void displayChanged(GLAutoDrawable drawable, boolean modeChanged, boolean deviceChanged) {} } // end class VBOListener private void allocateBigArray(GL gl) { |