[nostalgia/gfx] Remove unnecessary cast
All checks were successful
Build / build (push) Successful in 1m26s
All checks were successful
Build / build (push) Successful in 1m26s
This commit is contained in:
parent
998066d377
commit
2a8e3c2dc4
@ -449,7 +449,7 @@ static void setSprite(
|
|||||||
++i;
|
++i;
|
||||||
};
|
};
|
||||||
if (!s.flipX) {
|
if (!s.flipX) {
|
||||||
for (auto yIt = 0; yIt < static_cast<int>(dim.y); ++yIt) {
|
for (auto yIt = 0u; yIt < dim.y; ++yIt) {
|
||||||
for (auto xIt = 0u; xIt < dim.x; ++xIt) {
|
for (auto xIt = 0u; xIt < dim.x; ++xIt) {
|
||||||
set(static_cast<int>(xIt), static_cast<int>(yIt), s.enabled);
|
set(static_cast<int>(xIt), static_cast<int>(yIt), s.enabled);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user