mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-25 03:30:39 +00:00
Fixed resize_vertical_line_xray()
This commit is contained in:
parent
9b494efa78
commit
f18ad79676
1 changed files with 3 additions and 2 deletions
|
@ -243,8 +243,9 @@ void resize_vertical_line_xray (block src, block dest, unsigned int whole, unsig
|
||||||
px = *src;
|
px = *src;
|
||||||
src += whole;
|
src += whole;
|
||||||
xfrac += step;
|
xfrac += step;
|
||||||
if (xfrac > 4294967295) {
|
if (xfrac > 65535) {
|
||||||
xfrac %= 4294967296;
|
xfrac %= 65536;
|
||||||
|
} else {
|
||||||
goto novres;
|
goto novres;
|
||||||
}
|
}
|
||||||
src += resize_width_asm2;
|
src += resize_width_asm2;
|
||||||
|
|
Loading…
Reference in a new issue