summaryrefslogtreecommitdiff
path: root/amiga/plotters.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-02-29 19:09:55 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-02-29 19:09:55 +0000
commit3e77ceeb81deb21494b8f87ef166fcf978837c7e (patch)
tree871043dd35bde59821223e4207eb04e9e800d8d0 /amiga/plotters.c
parent6ab79f9868982ed0bc2fa571832e85b51e259c46 (diff)
downloadnetsurf-3e77ceeb81deb21494b8f87ef166fcf978837c7e.tar.gz
netsurf-3e77ceeb81deb21494b8f87ef166fcf978837c7e.tar.bz2
allow both x and y dimensions of redraw tiles to be configured
svn path=/trunk/netsurf/; revision=13502
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-xamiga/plotters.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c
index a1112de47..4dd6256ff 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -121,9 +121,10 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height)
struct BitMap *friend = NULL; /* Required to be NULL for Cairo and ARGB bitmaps */
- if(option_redraw_tile_size <= 0) option_redraw_tile_size = scrn->Width;
- if(!width) width = option_redraw_tile_size;
- if(!height) height = option_redraw_tile_size;
+ if(option_redraw_tile_size_x <= 0) option_redraw_tile_size_x = scrn->Width;
+ if(option_redraw_tile_size_y <= 0) option_redraw_tile_size_y = scrn->Height;
+ if(!width) width = option_redraw_tile_size_x;
+ if(!height) height = option_redraw_tile_size_y;
gg->layerinfo = NewLayerInfo();
gg->areabuf = AllocVec(100,MEMF_PRIVATE | MEMF_CLEAR);