diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-03-27 14:39:00 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-03-27 14:39:00 +0000 |
commit | 6f4f860ce3c6a569b15dce17b8d459636c936993 (patch) | |
tree | c710d1fd6c614e0519d317a89de0551a5c259872 /riscos | |
parent | 78663e91110b174c9febd29bb96b4a89f5a295a3 (diff) | |
download | netsurf-6f4f860ce3c6a569b15dce17b8d459636c936993.tar.gz netsurf-6f4f860ce3c6a569b15dce17b8d459636c936993.tar.bz2 |
Add some debug round thumbnail creation
More debugging of thumbnail creation as it appears to be involved in a
number of recently reported crashes on RISC OS.
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/thumbnail.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/riscos/thumbnail.c b/riscos/thumbnail.c index 603c328b8..9b8b52da5 100644 --- a/riscos/thumbnail.c +++ b/riscos/thumbnail.c @@ -92,12 +92,16 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap) assert(content); assert(bitmap); + LOG(("content %p in bitmap %p", content, bitmap)); + /* check if we have access to 32bpp sprites natively */ - if (thumbnail_32bpp_available == -1) + if (thumbnail_32bpp_available == -1) { thumbnail_test(); + } /* if we don't support 32bpp sprites then we redirect to an 8bpp - * image and then convert back. */ + * image and then convert back. + */ if (thumbnail_32bpp_available != 1) { sprite_area = thumbnail_create_8bpp(bitmap); if (!sprite_area) |