aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-04-30 12:50:35 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-04-30 12:50:35 +0100
commit9e27cc3d7565d7c98957a517ecad8257a86265cd (patch)
tree66f708ab2bda59a1a39b16feebab8653f11cb28b
parent60c18086bc2657cdf8d3aab80fdae4ad52172a73 (diff)
downloadfaqe-9e27cc3d7565d7c98957a517ecad8257a86265cd.tar.gz
faqe-9e27cc3d7565d7c98957a517ecad8257a86265cd.tar.xz
faqe-9e27cc3d7565d7c98957a517ecad8257a86265cd.zip
Fix model matrix being transposed.
-rw-r--r--faqe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/faqe.c b/faqe.c
index 3b857f2..6d674a5 100644
--- a/faqe.c
+++ b/faqe.c
@@ -129,7 +129,7 @@ int main(int argc, char **argv)
mat4x4_rotate_X(model, model, secs * 3);
mat4x4_rotate_Y(model, model, secs * 2);
mat4x4_rotate_Z(model, model, secs * 4);
- gl_uni_setm4fv(uni.model, 1, GL_TRUE, model[0]);
+ gl_uni_setm4fv(uni.model, 1, GL_FALSE, model[0]);
model_render(&cube_model);
gl_va_bind(0);