diff --git a/librashader-runtime-d3d11/src/render_target.rs b/librashader-runtime-d3d11/src/render_target.rs index 5e27326..e52a7c0 100644 --- a/librashader-runtime-d3d11/src/render_target.rs +++ b/librashader-runtime-d3d11/src/render_target.rs @@ -7,7 +7,7 @@ use windows::Win32::Graphics::Direct3D11::D3D11_VIEWPORT; static DEFAULT_MVP: &[f32; 16] = &[ 2f32, 0.0, 0.0, 0.0, 0.0, 2.0, 0.0, 0.0, - 0.0, 0.0, 2.0, 0.0, + 0.0, 0.0, 0.0, 0.0, -1.0, -1.0, 0.0, 1.0, ]; diff --git a/librashader-runtime-vk/src/render_target.rs b/librashader-runtime-vk/src/render_target.rs index 524d4a2..f3c1bae 100644 --- a/librashader-runtime-vk/src/render_target.rs +++ b/librashader-runtime-vk/src/render_target.rs @@ -4,7 +4,7 @@ use crate::framebuffer::OutputImage; pub(crate) static DEFAULT_MVP: &[f32; 16] = &[ 2f32, 0.0, 0.0, 0.0, 0.0, 2.0, 0.0, 0.0, - 0.0, 0.0, 2.0, 0.0, + 0.0, 0.0, 0.0, 0.0, -1.0, -1.0, 0.0, 1.0, ];