mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- Shift player sprites down half a pixel. Interestingly, this makes vertical
scaling much closer between software and hardware. SVN r1956 (trunk)
This commit is contained in:
parent
4ebfdac887
commit
ddf1afb82b
1 changed files with 1 additions and 1 deletions
|
@ -1848,7 +1848,7 @@ void R_DrawRemainingPlayerSprites()
|
|||
}
|
||||
screen->DrawTexture(vis->pic,
|
||||
viewwindowx + VisPSpritesX1[i],
|
||||
viewwindowy + viewheight/2 - (vis->texturemid / 65536.0) * (vis->yscale / 65536.0) - 1,
|
||||
viewwindowy + viewheight/2 - (vis->texturemid / 65536.0) * (vis->yscale / 65536.0) - 0.5,
|
||||
DTA_DestWidthF, FIXED2FLOAT(vis->pic->GetWidth() * vis->xscale),
|
||||
DTA_DestHeightF, FIXED2FLOAT(vis->pic->GetHeight() * vis->yscale),
|
||||
DTA_Translation, TranslationToTable(vis->Translation),
|
||||
|
|
Loading…
Reference in a new issue