summaryrefslogtreecommitdiffstats
path: root/src/demos/cg/runtime_ogl_vertex_fragment
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/cg/runtime_ogl_vertex_fragment')
-rw-r--r--src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java b/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java
index 51fe8d5..8e8d789 100644
--- a/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java
+++ b/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java
@@ -69,7 +69,7 @@ public class runtime_ogl_vertex_fragment implements GLEventListener
public static void main(String[] argv)
{
Frame frame = new Frame("Cg demo (runtime_ogl_vertex_fragment)");
- GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
+ GLCanvas canvas = new GLCanvas();
canvas.addGLEventListener(new runtime_ogl_vertex_fragment());
frame.add(canvas);