diff options
Diffstat (limited to 'src/demos/vertexProgWarp/VertexProgWarp.java')
-rw-r--r-- | src/demos/vertexProgWarp/VertexProgWarp.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demos/vertexProgWarp/VertexProgWarp.java b/src/demos/vertexProgWarp/VertexProgWarp.java index bacecab..a95f149 100644 --- a/src/demos/vertexProgWarp/VertexProgWarp.java +++ b/src/demos/vertexProgWarp/VertexProgWarp.java @@ -124,7 +124,7 @@ public class VertexProgWarp { private ExaminerViewer viewer; - public void init(GLDrawable drawable) { + public void init(GLAutoDrawable drawable) { GL gl = drawable.getGL(); GLU glu = drawable.getGLU(); @@ -202,7 +202,7 @@ public class VertexProgWarp { viewer.setZFar(zFar); } - public void display(GLDrawable drawable) { + public void display(GLAutoDrawable drawable) { if (!firstRender) { if (++frameCount == 30) { timer.stop(); @@ -267,8 +267,8 @@ public class VertexProgWarp { } // Unused routines - public void reshape(GLDrawable drawable, int x, int y, int width, int height) {} - public void displayChanged(GLDrawable drawable, boolean modeChanged, boolean deviceChanged) {} + public void reshape(GLAutoDrawable drawable, int x, int y, int width, int height) {} + public void displayChanged(GLAutoDrawable drawable, boolean modeChanged, boolean deviceChanged) {} //---------------------------------------------------------------------- // Internals only below this point |