mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
- 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
|
@ -1,4 +1,8 @@
|
|||
July 24, 2009 (Changes by Graf Zahl)
|
||||
July 25, 2009 (Changes by Graf Zahl)
|
||||
- Fixed: The composer for complex multipatch textures did not clear the palette
|
||||
buffer before filling it.
|
||||
|
||||
July 24, 2009 (Changes by Graf Zahl)
|
||||
- Fixed: using custom automap backgrounds crashed.
|
||||
|
||||
July 22, 2009
|
||||
|
|
|
@ -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…
Reference in a new issue