summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/curve
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-04-02 14:53:58 +0300
committerRami Santina <[email protected]>2011-04-02 14:53:58 +0300
commita6d0578e1ef46b835906ab290161cff3baa51ef8 (patch)
tree2f2445cf40d2f25d4bcfa2add07c974a943da845 /src/jogl/classes/jogamp/graph/curve
parenta53f4daf23e68f1f5819c9e911f8a520ce03926a (diff)
Fix: removing fragments with w=0 is producing dimples with msaa
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve')
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp
index e07139a87..745ca5ea1 100644
--- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp
+++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp
@@ -85,7 +85,7 @@ void main (void)
alpha = g_alpha;
}
else if (a <= 0.0) {
- discard;
+ alpha = 0.0;//discard;
}
else {
alpha = g_alpha*a;