mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 06:51:26 +03:00
Fix opaqueness test: the alpha channel is the first byte, not the last.
This commit is contained in:
parent
e454cf3f9c
commit
28ddb10268
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user