Fix GrFixZoomScale gr.sx 8 pixel offset lock.

This commit is contained in:
TomAwezome 2022-11-30 20:09:04 -05:00
parent 618c989821
commit 946c51fa4d

View file

@ -124,7 +124,7 @@ U0 GrFixZoomScale()
} }
else else
{ {
gr.sx = ClampI64(gr.sx, 0, GR_WIDTH - GR_WIDTH / gr.screen_zoom) & ~7; gr.sx = ClampI64(gr.sx, 0, GR_WIDTH - GR_WIDTH / gr.screen_zoom);
gr.sy = ClampI64(gr.sy, 0, GR_HEIGHT - GR_HEIGHT / gr.screen_zoom); gr.sy = ClampI64(gr.sy, 0, GR_HEIGHT - GR_HEIGHT / gr.screen_zoom);
} }
} }