summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/curve
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-04-02 15:10:00 +0200
committerSven Gothel <[email protected]>2011-04-02 15:10:00 +0200
commita550afe604d8a1e63110d9f76ef04e2b493271c9 (patch)
treed150c9819506589b58f4b4f226e2f9ff015c05b9 /src/jogl/classes/jogamp/graph/curve
parenta6d0578e1ef46b835906ab290161cff3baa51ef8 (diff)
Jogl build: Rebuild jar files if shaders were updated
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve')
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp3
1 files changed, 2 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 745ca5ea1..6f75c3e69 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,8 @@ void main (void)
alpha = g_alpha;
}
else if (a <= 0.0) {
- alpha = 0.0;//discard;
+ alpha = 0.0;
+ // discard; // should work but generates artifacts, dimples ?
}
else {
alpha = g_alpha*a;