Remove half pixel offset from primitive 2D renderer.

This commit is contained in:
Skyth
2024-10-17 16:07:22 +03:00
parent 63377c3f17
commit 86eac5ad8c
2 changed files with 15 additions and 0 deletions
+5
View File
@@ -2444,6 +2444,11 @@ void SetShadowResolutionMidAsmHook(PPCRegister& r11)
r11.u64 = 4096;
}
void Primitive2DHalfPixelOffsetMidAsmHook(PPCRegister& f13)
{
f13.f64 = 0.0;
}
static void SetResolution(be<uint32_t>* device)
{
uint32_t width = g_swapChain->getWidth();