- fixed: FBuildTexture::CopyTrueColorPixels returned incorrect transparency information

This commit is contained in:
Christoph Oelckers 2018-03-26 11:45:53 +02:00
parent 4ffa344f7d
commit f8019637cf

View file

@ -104,7 +104,7 @@ int FBuildTexture::CopyTrueColorPixels(FBitmap *bmp, int x, int y, int rotate, F
{ {
PalEntry *Remap = translationtables[TRANSLATION_Standard][Translation]->Palette; PalEntry *Remap = translationtables[TRANSLATION_Standard][Translation]->Palette;
bmp->CopyPixelData(x, y, RawPixels, Width, Height, Height, 1, rotate, Remap, inf); bmp->CopyPixelData(x, y, RawPixels, Width, Height, Height, 1, rotate, Remap, inf);
return 0; return -1;
} }