summaryrefslogtreecommitdiff
path: root/atari/plot/plot.c
diff options
context:
space:
mode:
Diffstat (limited to 'atari/plot/plot.c')
-rwxr-xr-xatari/plot/plot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/atari/plot/plot.c b/atari/plot/plot.c
index 0e9955cb2..cfec7b424 100755
--- a/atari/plot/plot.c
+++ b/atari/plot/plot.c
@@ -1031,6 +1031,9 @@ static bool bitmap_convert_8(struct bitmap * img, int x,
assert( clip->g_h > 0 );
assert( clip->g_w > 0 );
+ bw = bitmap_get_width( img );
+ bh = bitmap_get_height( img );
+
// The converted bitmap can be saved for subsequent blits, when
// the bitmap is fully opaque