mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-24 19:20:40 +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;
|
||||
src += whole;
|
||||
xfrac += step;
|
||||
if (xfrac > 4294967295) {
|
||||
xfrac %= 4294967296;
|
||||
if (xfrac > 65535) {
|
||||
xfrac %= 65536;
|
||||
} else {
|
||||
goto novres;
|
||||
}
|
||||
src += resize_width_asm2;
|
||||
|
|
Loading…
Reference in a new issue