diff options
author | Rami Santina <[email protected]> | 2011-03-29 01:11:44 +0300 |
---|---|---|
committer | Rami Santina <[email protected]> | 2011-03-29 01:11:44 +0300 |
commit | d6aedbf7677e4375d09d0995d3f9c14c5104091b (patch) | |
tree | 8f776e37c8e1bffcf2bf2fd9f73300cd60673b82 /src/demo/GPUTextNewtDemo02.java | |
parent | c0eb49806a35c0618af8a61c99ba783d688fc09d (diff) | |
parent | b73de5a53e2e81e2acc5f8f5064e2b0b27a9804e (diff) |
Merge with changes done for unit tests
Diffstat (limited to 'src/demo/GPUTextNewtDemo02.java')
-rw-r--r-- | src/demo/GPUTextNewtDemo02.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/demo/GPUTextNewtDemo02.java b/src/demo/GPUTextNewtDemo02.java index c7e7504ab..bda7fe0e2 100644 --- a/src/demo/GPUTextNewtDemo02.java +++ b/src/demo/GPUTextNewtDemo02.java @@ -27,10 +27,13 @@ */ package demo; +import java.io.IOException; + import javax.media.opengl.GL; import javax.media.opengl.GL3; import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLCapabilities; +import javax.media.opengl.GLException; import javax.media.opengl.GLProfile; import com.jogamp.graph.curve.Region; @@ -53,6 +56,7 @@ public class GPUTextNewtDemo02 { public static void main(String[] args) { GPUTextNewtDemo02 test = new GPUTextNewtDemo02(); test.testMe(); + } GLWindow window; @@ -85,7 +89,7 @@ public class GPUTextNewtDemo02 { private class TextGLListener extends GPUTextGLListenerBase01 { public TextGLListener() { super(SVertex.factory(), Region.TWO_PASS, DEBUG, TRACE); - setMatrix(-10, 10, 0f, -1000, window.getWidth()); + setMatrix(-10, 10, 0f, -1000, 400); } public void init(GLAutoDrawable drawable) { |