summaryrefslogtreecommitdiffstats
path: root/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java')
-rw-r--r--src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java b/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java
index e35bdf0..5f4ce75 100644
--- a/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java
+++ b/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java
@@ -71,7 +71,7 @@ public class InfiniteShadowVolumes extends Demo {
public static void main(String[] args) {
GLCapabilities caps = new GLCapabilities();
caps.setStencilBits(16);
- final GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(caps);
+ final GLCanvas canvas = new GLCanvas(caps);
InfiniteShadowVolumes demo = new InfiniteShadowVolumes();
canvas.addGLEventListener(demo);