- Fixed: The composer for complex multipatch textures did not clear the palette
buffer before filling it. SVN r1737 (trunk)
This commit is contained in:
parent
f1e6ec1fd9
commit
d26aeb8939
2 changed files with 6 additions and 1 deletions
|
|
@ -523,6 +523,7 @@ void FBitmap::CopyPixelData(int originx, int originy, const BYTE * patch, int sr
|
|||
BYTE *buffer = data + 4*originx + Pitch*originy;
|
||||
PalEntry penew[256];
|
||||
|
||||
memset(penew, 0, sizeof(penew));
|
||||
if (inf && inf->blend)
|
||||
{
|
||||
iCopyColors<cPalEntry, cBGRA, bCopy>((BYTE*)penew, (const BYTE*)palette, 256, 4, inf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue