summary refs log tree commit diff
path: root/src/Util
diff options
context:
space:
mode:
Diffstat (limited to 'src/Util')
-rw-r--r--src/Util/ImageViewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Util/ImageViewer.cpp b/src/Util/ImageViewer.cpp
index 8ff8c57..6c88c78 100644
--- a/src/Util/ImageViewer.cpp
+++ b/src/Util/ImageViewer.cpp
@@ -18,7 +18,7 @@ ImageViewer::ImageViewer(
     auto view_uniform = m_program.uniform("view_matrix");
     auto projection_uniform = m_program.uniform("projection_matrix");
 
-    model_uniform.set(Math::MVP::model<F32>({}, {}));
+    model_uniform.set(Math::MVP::model<F32>({}, Vector<3>::one(), {}));
     view_uniform.set(Math::MVP::view<F32>({}, {}));
     projection_uniform.set(Math::MVP::orthographic_projection<F32>(view_size * window_aspect, view_size, 0.0f, 100.0f));