Fix the cgmath::ortho invocation in update_projection.

This commit is contained in:
Matt Keeler committed 2018-08-16 07:49:44 -04:00
1 parent 4dc3c3c5a5
commit 40b01383b6
1 file changed
+1 -1
+1 -1
View File
@@ -1050,7 +1050,7 @@ impl ShaderProgram {
let ortho = cgmath::ortho(
0.,
width - (2. * padding_x),
2. * padding_x,
2. * padding_y,
height,
-1.,
1.,