mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
minor error in tilemap rendering fixed :D
This commit is contained in:
parent
5ae7db0c54
commit
f724ab006c
|
@ -72,8 +72,8 @@ void tilemap_render(float scale, int fg)
|
|||
|
||||
float u0 = nudge + px0/texsize+frac;
|
||||
float v0 = nudge + py0/texsize+frac;
|
||||
float u1 = nudge + px1/texsize+frac;
|
||||
float v1 = nudge + py1/texsize+frac;
|
||||
float u1 = nudge + px1/texsize-frac;
|
||||
float v1 = nudge + py1/texsize-frac;
|
||||
|
||||
if(f&TILEFLAG_VFLIP)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue