Fix scaling bug when drawing lines
This commit is contained in:
parent
63e9d6d9c1
commit
02848f9e0c
@ -3181,8 +3181,6 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
x /= sdl_scale;
|
x /= sdl_scale;
|
||||||
y /= sdl_scale;
|
y /= sdl_scale;
|
||||||
line_x /= sdl_scale;
|
|
||||||
line_y /= sdl_scale;
|
|
||||||
c = (lb&1) ? sl : sr;
|
c = (lb&1) ? sl : sr;
|
||||||
su = c;
|
su = c;
|
||||||
if (lm == 1)//line
|
if (lm == 1)//line
|
||||||
|
Loading…
Reference in New Issue
Block a user