Fix opaqueness test: the alpha channel is the first byte, not the last.

This commit is contained in:
Chris Young 2012-08-05 13:50:14 +01:00
parent e454cf3f9c
commit 28ddb10268

View File

@ -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;