diff options
Diffstat (limited to 'src/demos/vertexProgRefract/VertexProgRefract.java')
-rw-r--r-- | src/demos/vertexProgRefract/VertexProgRefract.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demos/vertexProgRefract/VertexProgRefract.java b/src/demos/vertexProgRefract/VertexProgRefract.java index 4811952..e3444cd 100644 --- a/src/demos/vertexProgRefract/VertexProgRefract.java +++ b/src/demos/vertexProgRefract/VertexProgRefract.java @@ -72,6 +72,7 @@ public class VertexProgRefract implements GLEventListener { public void shutdownDemo() { runExit(animator); } + public void repaint() {} }); Frame frame = new Frame("Refraction Using Vertex Programs"); @@ -92,7 +93,7 @@ public class VertexProgRefract implements GLEventListener { } public void setDemoListener(DemoListener listener) { - this.demoListener = listener; + demoListener = listener; } private DemoListener demoListener; |