summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/RedSquare.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1/RedSquare.java')
-rwxr-xr-xsrc/demos/es1/RedSquare.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java
index aa97edf..913a099 100755
--- a/src/demos/es1/RedSquare.java
+++ b/src/demos/es1/RedSquare.java
@@ -55,6 +55,7 @@ public class RedSquare implements MouseListener {
caps.setBlueBits(5);
caps.setDepthBits(16);
GLDrawable drawable = factory.createGLDrawable(window, caps, null);
+ window.setVisible(true);
drawable.setRealized(true);
GLContext context = drawable.createContext(null);
context.makeCurrent();