diff options
author | Rami Santina <[email protected]> | 2011-03-25 20:42:37 +0200 |
---|---|---|
committer | Rami Santina <[email protected]> | 2011-03-25 20:42:37 +0200 |
commit | c0bcd59a8cfc9296cb4569a08af9c42463e557e1 (patch) | |
tree | 6354346902477a2c679e67a3f031e0f90384de3b /src/demo/GPURegionNewtDemo02.java | |
parent | 731b4fe3c934d8e68d388025e20a0b0be22bf91d (diff) |
Fix: RenderingDemo with MULTI_PASS doesnt uses MSAA
Diffstat (limited to 'src/demo/GPURegionNewtDemo02.java')
-rwxr-xr-x | src/demo/GPURegionNewtDemo02.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/demo/GPURegionNewtDemo02.java b/src/demo/GPURegionNewtDemo02.java index a4a8e91e6..6a9e98f62 100755 --- a/src/demo/GPURegionNewtDemo02.java +++ b/src/demo/GPURegionNewtDemo02.java @@ -37,6 +37,7 @@ import javax.media.opengl.GLProfile; import com.jogamp.graph.curve.HwRegionRenderer; import com.jogamp.graph.curve.OutlineShape; +import com.jogamp.graph.curve.Region; import com.jogamp.graph.geom.opengl.SVertex; import com.jogamp.newt.event.KeyEvent; import com.jogamp.newt.event.KeyListener; @@ -69,8 +70,6 @@ class RegionsNewtWindow { GLProfile glp = GLProfile.getGL2ES2(); GLCapabilities caps = new GLCapabilities(glp); caps.setDoubleBuffered(true); - caps.setSampleBuffers(true); - caps.setNumSamples(4); System.out.println(caps); final GLWindow window = GLWindow.create(caps); window.setPosition(10, 10); |