diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-08-05 23:06:01 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-08-05 23:06:01 +0100 |
commit | 1ef7336f22c5751f8dd35c60d2e34fe0f49af455 (patch) | |
tree | 4d4c2cb2f96cbe8a11cf74e43348dc276e955080 /amiga/plotters.c | |
parent | 6d602b103e317a2e69618681ae0216d541b7b7af (diff) | |
download | netsurf-1ef7336f22c5751f8dd35c60d2e34fe0f49af455.tar.gz netsurf-1ef7336f22c5751f8dd35c60d2e34fe0f49af455.tar.bz2 |
revert begin/endrefresh image avoidance - this isn't the cause of the simplerefresh damage region deadlock
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-x | amiga/plotters.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c index 3aef04344..cdd5aac7a 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -194,8 +194,6 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height) gg->surface = cairo_amigaos_surface_create(gg->rp->BitMap); gg->cr = cairo_create(gg->surface); #endif - - gg->locked_layers = false; } void ami_free_layers(struct gui_globals *gg) @@ -650,8 +648,7 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma if(palette_mapped == false) { tbm = ami_getcachenativebm(bitmap, width, height, glob->rp->BitMap); } else { - if(glob->locked_layers == false) - tbm = ami_bitmap_get_palettemapped(bitmap, width, height); + tbm = ami_bitmap_get_palettemapped(bitmap, width, height); } if(!tbm) return true; @@ -740,8 +737,7 @@ bool ami_bitmap_tile(int x, int y, int width, int height, if(palette_mapped == false) { tbm = ami_getcachenativebm(bitmap,width,height,glob->rp->BitMap); } else { - if(glob->locked_layers == false) - tbm = ami_bitmap_get_palettemapped(bitmap, width, height); + tbm = ami_bitmap_get_palettemapped(bitmap, width, height); } if(!tbm) return true; |