diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-02-03 19:10:30 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-02-03 19:10:30 +0000 |
commit | 34f1e427f98dfad851372229b2d33599630dd5e8 (patch) | |
tree | b0d2d5cd03b946f6925295f4e587765580b81d47 | |
parent | ccaeced4bfeaa25ea115252417beff622c0e08be (diff) | |
download | netsurf-34f1e427f98dfad851372229b2d33599630dd5e8.tar.gz netsurf-34f1e427f98dfad851372229b2d33599630dd5e8.tar.bz2 |
Un-fix scaled box redraw, as it cause more problems than it solves
-rwxr-xr-x | amiga/gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index 9876a8a77..9c7f29d71 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -3689,8 +3689,8 @@ void ami_do_redraw_tiled(struct gui_window_2 *gwin, bool busy, BLITA_SrcY, 0, BLITA_DestType, BLITT_RASTPORT, BLITA_Dest, gwin->win->RPort, - BLITA_DestX, bbox->Left + (int)((x * gwin->bw->scale) - sx), - BLITA_DestY, bbox->Top + (int)((y * gwin->bw->scale) - sy), + BLITA_DestX, bbox->Left + (int)((x - sx) * gwin->bw->scale), + BLITA_DestY, bbox->Top + (int)((y - sy) * gwin->bw->scale), BLITA_Width, (int)(clip.x1), BLITA_Height, (int)(clip.y1), TAG_DONE); |