forked from AbleOS/ableos
Uuugh
This commit is contained in:
parent
38c6f6cf47
commit
851e0bd94a
|
@ -231,7 +231,7 @@ put_scaled := fn(surface: Surface, source: Surface, pos: Vec2(int), size: Vec2(i
|
|||
pos = .(0, 0)
|
||||
loop if pos.y >= size.y break else {
|
||||
loop if pos.x >= size.x break else {
|
||||
*surface_idx = *@inline(surfaceidx, source, source_pos.x, source_pos.y)
|
||||
*surface_idx = *@inline(index, source, source_pos.x, source_pos.y)
|
||||
surface_idx += step.x
|
||||
|
||||
if size.x < source.width {
|
||||
|
|
Loading…
Reference in a new issue