From da90bd3b6add00160c632321de3ebfba926f88c0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 20 Aug 2020 20:43:17 +0200 Subject: [PATCH] - fixed: When drawing fullscreen, ignore texture offsets. Fixes #218. Exhumed also has a fullscreen image with bogus offsets. --- source/common/2d/v_draw.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/common/2d/v_draw.cpp b/source/common/2d/v_draw.cpp index 220bd219f..8ef8ba96a 100644 --- a/source/common/2d/v_draw.cpp +++ b/source/common/2d/v_draw.cpp @@ -495,6 +495,7 @@ bool SetTextureParms(F2DDrawer * drawer, DrawParms *parms, FGameTexture *img, do parms->y = parms->viewport.top + rect.top; parms->destwidth = rect.width; parms->destheight = rect.height; + parms->top = parms->left = 0; return false; // Do not call VirtualToRealCoords for this! }