From 0528109e41cd314af6fa4f3e1e6c773042b18c26 Mon Sep 17 00:00:00 2001 From: Travis Bryson Date: Wed, 21 Dec 2005 01:20:15 +0000 Subject: Submitted by: Travis Modified Files: src/demos/cg/runtime_ogl/cgGL_vertex_example.java src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java Replaced old DrawableFactory factory API with new public GLCanvas constructor. So the CG demos will build now. Added CG demos to nightly build so starting tonight the built bits will be added to the nightlies posted on java.net git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@155 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- .../cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/demos/cg/runtime_ogl_vertex_fragment') 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); -- cgit v1.2.3