summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;