diff options
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/curve')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java b/src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java index 0a9e865cb..3c23733a5 100644 --- a/src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java +++ b/src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java @@ -265,11 +265,10 @@ public abstract class Renderer { return "curverenderer01" + getShaderGLVersionSuffix(gl); } - /** - * FIXME: 2nd pass shader ! - */ protected String getFragmentShaderName(GL2ES2 gl) { - return "curverenderer01a" + getShaderGLVersionSuffix(gl); + final String type = "01" ; // Region.isNonUniformWeight(renderModes) ? "02" : "01" ; + final String pass = Region.isVBAA(renderModes) ? "b" : "a" ; + return "curverenderer" + type + pass + getShaderGLVersionSuffix(gl); } protected String getShaderGLVersionSuffix(GL2ES2 gl) { |