From 40b01383b6041e571af5982f272d1ff83ffed3f5 Mon Sep 17 00:00:00 2001 From: Matt Keeler Date: Thu, 16 Aug 2018 07:49:07 -0400 Subject: [PATCH] Fix the cgmath::ortho invocation in update_projection. --- src/renderer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 930952de..f52fa577 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -1050,7 +1050,7 @@ impl ShaderProgram { let ortho = cgmath::ortho( 0., width - (2. * padding_x), - 2. * padding_x, + 2. * padding_y, height, -1., 1.,