d3d11/vk: fix default mvp

This commit is contained in:
chyyran 2023-01-28 13:11:14 -05:00
parent 43b7d6fb53
commit b0dde6eda2
2 changed files with 2 additions and 2 deletions

View file

@ -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,
];

View file

@ -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,
];