| Index: core/fxge/dib/fx_dib_transform.cpp
|
| diff --git a/core/fxge/dib/fx_dib_transform.cpp b/core/fxge/dib/fx_dib_transform.cpp
|
| index dacc0aa393bd025884255d87abef3a91380321f7..e56e7fccbbfe587c587fb551a3b277c4d1d6a45b 100644
|
| --- a/core/fxge/dib/fx_dib_transform.cpp
|
| +++ b/core/fxge/dib/fx_dib_transform.cpp
|
| @@ -194,7 +194,7 @@ CFX_DIBitmap* CFX_DIBSource::SwapXY(bool bXFlip,
|
| delete pTransBitmap;
|
| return nullptr;
|
| }
|
| - pTransBitmap->CopyPalette(m_pPalette.get());
|
| + pTransBitmap->SetPalette(m_pPalette.get());
|
| int dest_pitch = pTransBitmap->GetPitch();
|
| uint8_t* dest_buf = pTransBitmap->GetBuffer();
|
| int row_start = bXFlip ? m_Height - dest_clip.right : dest_clip.left;
|
|
|