diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-05-20 22:40:46 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-05-20 22:40:46 +0100 |
commit | 15d95ddcf83b3f4eded19ba8f3b4f7ddb130556a (patch) | |
tree | 12f33c1b7d427c1818fb61448b06b893f01c5b64 /atari | |
parent | fcc318cf299eec6c94c7047deffcaff30c62e1d5 (diff) | |
download | netsurf-15d95ddcf83b3f4eded19ba8f3b4f7ddb130556a.tar.gz netsurf-15d95ddcf83b3f4eded19ba8f3b4f7ddb130556a.tar.bz2 |
Ensure bitmap width/height are initialised.
Diffstat (limited to 'atari')
-rwxr-xr-x | atari/plot/plot.c | 3 |
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 |