mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- fixed: When drawing fullscreen, ignore texture offsets.
Fixes #218. Exhumed also has a fullscreen image with bogus offsets.
This commit is contained in:
parent
4267b7d5fc
commit
da90bd3b6a
1 changed files with 1 additions and 0 deletions
|
@ -495,6 +495,7 @@ bool SetTextureParms(F2DDrawer * drawer, DrawParms *parms, FGameTexture *img, do
|
||||||
parms->y = parms->viewport.top + rect.top;
|
parms->y = parms->viewport.top + rect.top;
|
||||||
parms->destwidth = rect.width;
|
parms->destwidth = rect.width;
|
||||||
parms->destheight = rect.height;
|
parms->destheight = rect.height;
|
||||||
|
parms->top = parms->left = 0;
|
||||||
return false; // Do not call VirtualToRealCoords for this!
|
return false; // Do not call VirtualToRealCoords for this!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue