aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-31 21:19:36 +0200
committerSven Gothel <[email protected]>2011-07-31 21:19:36 +0200
commitdf1c4e5553c18ccc1e0e3c24fe45697caf76654d (patch)
tree8025afe737e92d2eaefd93afbc0c9b29a63e9344 /src
parent78ef9bdf7ad5f1e78300208408572b9416c54578 (diff)
graph es2 glsl: #extension OES_standard_derivatives : require
Diffstat (limited to 'src')
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.fp3
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-es2.fp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.fp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.fp
index 0131f38b0..953349f5a 100644
--- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.fp
+++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-es2.fp
@@ -2,5 +2,8 @@
#version 100
+// we require dFdx/dFdy
+#extension OES_standard_derivatives : require
+
#include curverenderer01-xxx.fp
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-es2.fp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-es2.fp
index 358e68b81..66361389b 100644
--- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-es2.fp
+++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-es2.fp
@@ -2,5 +2,8 @@
#version 100
+// we require dFdx/dFdy
+#extension OES_standard_derivatives : require
+
#include curverenderer02-xxx.fp