aboutsummaryrefslogtreecommitdiffstats
path: root/vert.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'vert.glsl')
-rw-r--r--vert.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/vert.glsl b/vert.glsl
index 5e4e43a..5292e99 100644
--- a/vert.glsl
+++ b/vert.glsl
@@ -15,7 +15,7 @@ uniform mat4 proj;
void main()
{
- vec3 light = { 1.2, 1.0, 2.0 };
+ vec3 light = vec3(1.2, 1.0, 2.0);
gl_Position = proj * view * model * vec4(pos, 1.0);
fpos = vec3(view * model * vec4(pos, 1.0));