diff options
Diffstat (limited to 'src/demos/es2')
-rwxr-xr-x | src/demos/es2/RedSquare.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/demos/es2/RedSquare.java b/src/demos/es2/RedSquare.java index 6996eed..4d518a2 100755 --- a/src/demos/es2/RedSquare.java +++ b/src/demos/es2/RedSquare.java @@ -14,13 +14,17 @@ import com.sun.javafx.newt.opengl.*; public class RedSquare extends Thread implements WindowListener, KeyListener, MouseListener, GLEventListener { - private GLWindow window; + public GLWindow window; private GLProfile glp; private GLU glu; private boolean quit = false; private String glprofile; private int type; + public RedSquare() { + this(null, USE_NEWT); + } + public RedSquare(String glprofile, int type) { super(); this.glprofile=glprofile; |