Minor cleanup.
This commit is contained in:
parent
61527f3e64
commit
ee8ba58441
|
|
@ -148,7 +148,6 @@ carefree_wu_line(u32* dest, size_t dest_stride, u64 x, u64 y, u64 w, u64 h, u32
|
||||||
x1 = x1 - 1; // "--x1" didn't work here, x1 remained unchanged.
|
x1 = x1 - 1; // "--x1" didn't work here, x1 remained unchanged.
|
||||||
if (d + k >= 0xFFFF) {
|
if (d + k >= 0xFFFF) {
|
||||||
d = 0;
|
d = 0;
|
||||||
// opposite (de-)increment because computer y is negative cartesian y
|
|
||||||
++y;
|
++y;
|
||||||
y1 = y1 - 1;
|
y1 = y1 - 1;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue