From ea0f37d33acff83091fdb0e47a70cfad7186dfe8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 11 Jun 2014 02:36:43 +0200 Subject: Graph RegionRenderer: Fix GL3 and ES3 GLSL issues Macro redefine 'texture2D -> texture' was added _after_ the custom texture lookup insertion causing GL3-core to fail. --- .../jogamp/graph/curve/opengl/shader/curverenderer01-segment-head.fp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/jogl/classes/jogamp/graph/curve/opengl') diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-segment-head.fp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-segment-head.fp index 26e2bcf24..05407a4e6 100644 --- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-segment-head.fp +++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-segment-head.fp @@ -12,8 +12,5 @@ #define mgl_FragColor gl_FragColor #endif -#include uniforms.glsl -#include varyings.glsl - #define GetSample(texUnit, texCoord, psize, cx, cy, offX, offY) texture2D(texUnit, texCoord + psize * vec2(cx+offX, cy+offY)) -- cgit v1.2.3