diff --git a/src/renderers.rs b/src/renderers.rs index f8f3f07..2746a23 100644 --- a/src/renderers.rs +++ b/src/renderers.rs @@ -44,7 +44,7 @@ impl Renderer { #[rustfmt::skip] let transform: [f32; 16] = [ 1.0, 0.0, 0.0, 0.0, - 0.0, 1.0, 0.0, 0.0, + 0.0, -1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, ]; @@ -191,7 +191,7 @@ impl RenderPass for Renderer { #[rustfmt::skip] let transform: [f32; 16] = [ sw, 0.0, 0.0, 0.0, - 0.0, sh, 0.0, 0.0, + 0.0, -sh, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, ];