summaryrefslogtreecommitdiffstats
path: root/src/demo/GPUTextNewtDemo01.java
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-03-29 01:11:44 +0300
committerRami Santina <[email protected]>2011-03-29 01:11:44 +0300
commitd6aedbf7677e4375d09d0995d3f9c14c5104091b (patch)
tree8f776e37c8e1bffcf2bf2fd9f73300cd60673b82 /src/demo/GPUTextNewtDemo01.java
parentc0eb49806a35c0618af8a61c99ba783d688fc09d (diff)
parentb73de5a53e2e81e2acc5f8f5064e2b0b27a9804e (diff)
Merge with changes done for unit tests
Diffstat (limited to 'src/demo/GPUTextNewtDemo01.java')
-rw-r--r--src/demo/GPUTextNewtDemo01.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/demo/GPUTextNewtDemo01.java b/src/demo/GPUTextNewtDemo01.java
index ad1020122..362627e56 100644
--- a/src/demo/GPUTextNewtDemo01.java
+++ b/src/demo/GPUTextNewtDemo01.java
@@ -27,6 +27,7 @@
*/
package demo;
+
import javax.media.opengl.GL2ES2;
import javax.media.opengl.GLAutoDrawable;
import javax.media.opengl.GLCapabilities;
@@ -47,7 +48,7 @@ public class GPUTextNewtDemo01 {
}
TextGLListener textGLListener = null;
-
+ GLWindow window;
public void testMe() {
GLProfile.initSingleton(true);
GLProfile glp = GLProfile.getGL2ES2();
@@ -57,7 +58,7 @@ public class GPUTextNewtDemo01 {
caps.setNumSamples(4); // 2 samples is not enough ..
System.out.println("Requested: "+caps);
- final GLWindow window = GLWindow.create(caps);
+ window = GLWindow.create(caps);
window.setPosition(10, 10);
window.setSize(500, 500);