summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-03-30 16:47:26 +0300
committerRami Santina <[email protected]>2011-03-30 16:47:26 +0300
commit34f9f49738bc37cf5ddbd638f3a36d591d7d7a4a (patch)
tree5e7b59eaf2132c0df7a22fd30c6b82740f9a96cf
parent8e5d620eae1dcc1f1178e09c1d5172324541f503 (diff)
Set relative texSize to RegionDemo02
-rw-r--r--src/demo/GPURegionNewtDemo02.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/demo/GPURegionNewtDemo02.java b/src/demo/GPURegionNewtDemo02.java
index a7b56ad42..3d7b60574 100644
--- a/src/demo/GPURegionNewtDemo02.java
+++ b/src/demo/GPURegionNewtDemo02.java
@@ -94,10 +94,7 @@ public class GPURegionNewtDemo02 {
public RegionGLListener() {
super(SVertex.factory(), Region.TWO_PASS, DEBUG, TRACE);
- setMatrix(-20, 00, 0f, -50, 400);
- //setMatrix(-20, 00, 0f, -400, 400);
- //setMatrix(-20, 00, 0f, -400, 400);
- //setMatrix(-20, 00, 0f, -100, 800);
+ setMatrix(-20, 00, 0f, -50, 1140);
}
private void createTestOutline(){
@@ -149,9 +146,6 @@ public class GPURegionNewtDemo02 {
regionRenderer.init(gl);
regionRenderer.setAlpha(gl, 1.0f);
regionRenderer.setColor(gl, 0.0f, 0.0f, 0.0f);
- //gl.glSampleCoverage(0.95f, false);
- //gl.glEnable(GL2GL3.GL_SAMPLE_COVERAGE); // sample coverage doesn't really make a difference to lines
- //gl.glEnable(GL2GL3.GL_SAMPLE_ALPHA_TO_ONE);
MSAATool.dump(drawable);
createTestOutline();