16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 05:49:19 +02:00

fix null reference

This commit is contained in:
VB
2017-07-02 15:42:43 +02:00
parent d9d1456792
commit 2b51d8229e
3 changed files with 3 additions and 8 deletions

View File

@@ -20,6 +20,5 @@ void main()
f_normal = modelviewnormal * v_normal;
f_coord = v_coord;
f_pos = vec3(modelview * vec4(v_vert, 1.0f));
//f_light_pos = lightview * vec4(f_pos, 1.0f);
f_light_pos = lightview * vec4(f_pos, 1.0f);
}