mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Revert "fixed sprite rendering. Closes #834"
This reverts commit 43af1fdb5f
.
This commit is contained in:
parent
80b04370d5
commit
583421b42d
|
@ -51,9 +51,9 @@ void CRenderTools::SelectSprite(CDataSprite *pSpr, int Flags, int sx, int sy)
|
|||
gs_SpriteHScale = h/f;
|
||||
|
||||
float x1 = x/(float)cx;
|
||||
float x2 = (x+w-1/32.0f)/(float)cx;
|
||||
float x2 = (x+w)/(float)cx;
|
||||
float y1 = y/(float)cy;
|
||||
float y2 = (y+h-1/32.0f)/(float)cy;
|
||||
float y2 = (y+h)/(float)cy;
|
||||
float Temp = 0;
|
||||
|
||||
if(Flags&SPRITE_FLAG_FLIP_Y)
|
||||
|
|
Loading…
Reference in a new issue