sw_engine raster: removing unnecessary logical 'and' operation

Shifting the 32-bit number by 24 bits leaves only 8 bits,
so there is no need to mask them with 0xFF.
This commit is contained in:
Mira Grudzinska 2021-02-02 00:55:42 +01:00 committed by Hermet Park
parent 8003c439fe
commit 307f3698a8

View file

@ -30,7 +30,7 @@
static uint32_t _colorAlpha(uint32_t c)
{
return (c >> 24) & 0xff;
return (c >> 24);
}