summaryrefslogtreecommitdiff
path: root/amiga/bitmap.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-05 13:50:14 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-05 13:50:14 +0100
commit28ddb102687dc570f94a2f2157c80a279bf99274 (patch)
tree93959584307a4ba2111e6aab91cd79308a2a1a5c /amiga/bitmap.c
parente454cf3f9cc6aaff6e4036c4873d7ef24191c290 (diff)
downloadnetsurf-28ddb102687dc570f94a2f2157c80a279bf99274.tar.gz
Fix opaqueness test: the alpha channel is the first byte, not the last.
Diffstat (limited to 'amiga/bitmap.c')
-rw-r--r--amiga/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/bitmap.c b/amiga/bitmap.c
index 4e1057eb6..bf32a2ffd 100644
--- a/amiga/bitmap.c
+++ b/amiga/bitmap.c
@@ -208,7 +208,7 @@ bool bitmap_test_opaque(void *bitmap)
for(a=0;a<p;a+=4)
{
- if ((*bmi & 0x000000ffU) != 0x000000ffU) return false;
+ if ((*bmi & 0xff000000U) != 0xff000000U) return false;
bmi++;
}
return true;