diff options
author | Sven Gothel <[email protected]> | 2011-03-25 22:31:58 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-03-25 22:31:58 +0100 |
commit | d1e73ec50d31017bc4d1697a16e53a8cfc631a0e (patch) | |
tree | 6866b5d356b054b397cd8e9f1894268668f0bc93 | |
parent | ca5c2da3b3e03e5fb23b1cae1edf336de7e9ab20 (diff) |
TextDemo02 multi pass: no MSAA - right
-rw-r--r-- | src/demo/GPUTextNewtDemo02.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/demo/GPUTextNewtDemo02.java b/src/demo/GPUTextNewtDemo02.java index 269287232..3867800d1 100644 --- a/src/demo/GPUTextNewtDemo02.java +++ b/src/demo/GPUTextNewtDemo02.java @@ -152,8 +152,7 @@ class TextNewtWindow { textRenderer = new HwTextRenderer(drawable.getContext(), pointFactory, Region.TWO_PASS); textRenderer.setAlpha(1.0f); textRenderer.setColor(0.0f, 0.0f, 0.0f); - gl.glSampleCoverage(0.75f, false); - gl.glEnable(GL2GL3.GL_SAMPLE_COVERAGE); // FIXME: Does sample coverage make a difference here ? + gl.glDisable(GL.GL_MULTISAMPLE); // this state usually doesn't matter in driver - but document here: no MSAA gl.glHint(GL2.GL_PERSPECTIVE_CORRECTION_HINT, GL3.GL_NICEST); MSAATool.dump(drawable); } |