summaryrefslogtreecommitdiffstats
path: root/src/demos
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-05-30 09:04:32 +0000
committerSven Gothel <[email protected]>2008-05-30 09:04:32 +0000
commitfde7845cbef3074561d5489cc086be60d8f6416d (patch)
tree5aa5d705c1a62ce79380b505447055e34ce168d1 /src/demos
parent88284efb1e6857958ee2b6caf187c96daa07f600 (diff)
Adapted to changes in Window.create(int visualID)
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@235 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos')
-rwxr-xr-xsrc/demos/es1/RedSquare.java2
-rwxr-xr-xsrc/demos/es1/angeles/Main.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java
index 8811f07..8bea190 100755
--- a/src/demos/es1/RedSquare.java
+++ b/src/demos/es1/RedSquare.java
@@ -11,7 +11,7 @@ public class RedSquare {
public static void main(String[] args) {
System.out.println("RedSquare.main()");
try {
- Window window = Window.create();
+ Window window = Window.create(0); // dummy VisualID
// Size OpenGL to Video Surface
int width = 800;
diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java
index 3c78475..1afe46d 100755
--- a/src/demos/es1/angeles/Main.java
+++ b/src/demos/es1/angeles/Main.java
@@ -8,7 +8,7 @@ public class Main {
public static void main(String[] args) {
System.out.println("Angeles Main");
try {
- Window window = Window.create();
+ Window window = Window.create(0); // dummy VisualID
// Size OpenGL to Video Surface
int width = 800;