small fixes

Former-commit-id: 0ac2c4e058340d99709843b52fed4a06498ab500
This commit is contained in:
Imbris 2019-05-23 21:07:19 -04:00
parent dd607ba9a4
commit 265e8f243c

View File

@ -24,9 +24,7 @@ void main() {
if (w_pos.w == 1.0) {
// In-game element
gl_Position =
proj_mat *
(view_mat * w_pos + vec4(v_pos, 0.0, 0.0));
gl_Position = proj_mat * (view_mat * w_pos + vec4(v_pos, 0.0, 0.0));
} else {
// Interface element
gl_Position = vec4(v_pos, 0.0, 1.0);