summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/build-jogl.xml10
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp3
2 files changed, 11 insertions, 2 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml
index 28b5c4956..b708ae0dc 100644
--- a/make/build-jogl.xml
+++ b/make/build-jogl.xml
@@ -1396,7 +1396,15 @@
<!--
- Build the jogl.jar files.
-->
- <target name="build-jars" depends="gluegen.cpptasks.detect.os,build-jars-javase" />
+ <target name="build-jars-dependset" depends="gluegen.cpptasks.detect.os,build-jars-javase" >
+ <dependset>
+ <srcfileset dir="${src.java}"
+ includes="${java.part.util.fixedfuncemu.shadercode} ${java.part.util.graph.shadercode} ${java.part.util.graph.fonts}"/>
+ <targetfileset dir="."
+ includes="${jogl.all.jar} ${jogl.all-noawt.jar} ${jogl.util.jar} ${jogl.util.fixedfuncemu.jar}" />
+ </dependset>
+ </target>
+ <target name="build-jars" depends="build-jars-dependset" />
<target name="setup-manifestfile" depends="common.init">
<property name="manifestfile" value="joglversion"/>
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;