From a71a10bb6eee0267fc46dbbd0994121fd07f85f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Wed, 31 Aug 2022 01:46:58 +0200 Subject: [PATCH] Allow signed texture offsets on framebuffers --- GPU/GPUState.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPU/GPUState.h b/GPU/GPUState.h index 57c678734d..9f7f98df48 100644 --- a/GPU/GPUState.h +++ b/GPU/GPUState.h @@ -592,8 +592,8 @@ struct GPUStateCache { u32 curTextureHeight; u32 actualTextureHeight; // Only applied when needShaderTexClamp = true. - u32 curTextureXOffset; - u32 curTextureYOffset; + int curTextureXOffset; + int curTextureYOffset; bool curTextureIs3D; float vpWidth;