fix self-inited fTransparentMode, closing #9788.
Signed-off-by: Philippe Houdoin <[email protected]>
This commit is contained in:
committed by
Philippe Houdoin
parent
8683f5d4ee
commit
1cabed5eee
@@ -244,7 +244,7 @@ SavePalette::SavePalette(BBitmap *bitmap, int32 maxSizeInBits)
|
|||||||
fSize(0),
|
fSize(0),
|
||||||
fSizeInBits(0),
|
fSizeInBits(0),
|
||||||
fMode(OPTIMAL_PALETTE),
|
fMode(OPTIMAL_PALETTE),
|
||||||
fTransparentMode(fTransparentMode),
|
fTransparentMode(NO_TRANSPARENCY),
|
||||||
fTransparentIndex(-1),
|
fTransparentIndex(-1),
|
||||||
fBackgroundIndex(0),
|
fBackgroundIndex(0),
|
||||||
fFatalError(pal == NULL)
|
fFatalError(pal == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user