diff options
author | Matt Keeler <mjkeeler7@gmail.com> | 2018-08-16 07:49:07 -0400 |
---|---|---|
committer | Matt Keeler <mjkeeler7@gmail.com> | 2018-08-16 07:49:44 -0400 |
commit | 40b01383b6041e571af5982f272d1ff83ffed3f5 (patch) | |
tree | 507a69cdf424863b6c0c95791ca17a7beb0b26b5 | |
parent | 4dc3c3c5a57796b3198429d395e2dded227eb94b (diff) | |
download | alacritty-40b01383b6041e571af5982f272d1ff83ffed3f5.tar.gz alacritty-40b01383b6041e571af5982f272d1ff83ffed3f5.zip |
Fix the cgmath::ortho invocation in update_projection.
-rw-r--r-- | src/renderer/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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., |