Blend mode fixes
This commit is contained in:
parent
d3bc68a160
commit
6daeb5a158
4 changed files with 76 additions and 96 deletions
|
|
@ -203,7 +203,10 @@ const uint32_t *FTexture::GetPixelsBgra()
|
|||
PixelsBgra.resize(Width * Height);
|
||||
for (int i = 0; i < Width * Height; i++)
|
||||
{
|
||||
PixelsBgra[i] = 0xff000000 | GPalette.BaseColors[indices[i]].d;
|
||||
if (indices[i] != 0)
|
||||
PixelsBgra[i] = 0xff000000 | GPalette.BaseColors[indices[i]].d;
|
||||
else
|
||||
PixelsBgra[i] = 0;
|
||||
}
|
||||
}
|
||||
return PixelsBgra.data();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue