summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Rusin <zack@kde.org>2010-07-11 00:46:02 -0400
committerZack Rusin <zack@kde.org>2010-07-11 00:46:02 -0400
commit96d23eeff3916b669b883378ccea3a0c74b000eb (patch)
treed8f4fd70aeee0fdc9649c3923a74581ba1055f18
parentae76d81a2737d926af47ae8b56b756107b2bd672 (diff)
bezier: make it also work with nvidia's compiler
-rw-r--r--src/glsl/bezier.geom2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/bezier.geom b/src/glsl/bezier.geom
index 0a11af56..3041e506 100644
--- a/src/glsl/bezier.geom
+++ b/src/glsl/bezier.geom
@@ -8,7 +8,7 @@ void main()
/* num is the number of subdivisions
* can be anything between 1 and infinity
*/
- const int num = NumSubdivisions;
+ int num = NumSubdivisions;
float dt = 1. / float(num);
float t = 0.;