summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
Diffstat (limited to 'progs')
-rw-r--r--progs/glsl/vsraytrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/glsl/vsraytrace.c b/progs/glsl/vsraytrace.c
index d7726c787b8..962b1bdb4c1 100644
--- a/progs/glsl/vsraytrace.c
+++ b/progs/glsl/vsraytrace.c
@@ -202,7 +202,7 @@ static const char* vsSource =
"void main() \n"
"{ \n"
" const vec3 cameraPos = vec3(0,0,3); \n"
- " const vec3 rayDir = normalize(vec3(gl_Vertex.x, gl_Vertex.y, -1.0) * rot);\n"
+ " vec3 rayDir = normalize(vec3(gl_Vertex.x, gl_Vertex.y, -1.0) * rot);\n"
" Ray ray = Ray(cameraPos, rayDir); \n"
" gl_Position = gl_Vertex; \n"
" gl_FrontColor = trace1(ray); \n"