mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-03-24 22:05:05 +00:00
Fixed compile warning
This commit is contained in:
parent
b82af9dfbf
commit
3b083b9911
|
@ -2843,7 +2843,7 @@ static int plotLineLow(SDL_Renderer *renderer, float x0, float y0, float x1, flo
|
||||||
D += 2*dy;
|
D += 2*dy;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
render_count = (tmp - points);
|
render_count = (int)(tmp - points);
|
||||||
|
|
||||||
if (!draw_last) {
|
if (!draw_last) {
|
||||||
--render_count;
|
--render_count;
|
||||||
|
@ -2901,7 +2901,7 @@ static int plotLineHigh(SDL_Renderer *renderer, float x0, float y0, float x1, fl
|
||||||
D += 2*dx;
|
D += 2*dx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
render_count = (tmp - points);
|
render_count = (int)(tmp - points);
|
||||||
|
|
||||||
if (!draw_last) {
|
if (!draw_last) {
|
||||||
--render_count;
|
--render_count;
|
||||||
|
|
Loading…
Reference in a new issue