From f8019637cf95d51f3bf4c19532944e93f17d20c3 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 26 Mar 2018 11:45:53 +0200 Subject: [PATCH] - fixed: FBuildTexture::CopyTrueColorPixels returned incorrect transparency information --- src/textures/buildtexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textures/buildtexture.cpp b/src/textures/buildtexture.cpp index 2d9615d70..25c786895 100644 --- a/src/textures/buildtexture.cpp +++ b/src/textures/buildtexture.cpp @@ -104,7 +104,7 @@ int FBuildTexture::CopyTrueColorPixels(FBitmap *bmp, int x, int y, int rotate, F { PalEntry *Remap = translationtables[TRANSLATION_Standard][Translation]->Palette; bmp->CopyPixelData(x, y, RawPixels, Width, Height, Height, 1, rotate, Remap, inf); - return 0; + return -1; }