Don't pretend that we implement IWICBitmapSource::CopyPalette()
We don't and it's unclear how to do it, so just return WINCODEC_ERR_PALETTEUNAVAILABLE instead of pretending that we copied the palette when we didn't. See #16625.
This commit is contained in:
parent
576b0033c0
commit
2a9a42fd23
@ -1375,10 +1375,9 @@ public:
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT STDMETHODCALLTYPE CopyPalette(__RPC__in_opt IWICPalette *palette) wxOVERRIDE
|
||||
HRESULT STDMETHODCALLTYPE CopyPalette(__RPC__in_opt IWICPalette* WXUNUSED(palette)) wxOVERRIDE
|
||||
{
|
||||
palette = NULL;
|
||||
return S_OK;
|
||||
return WINCODEC_ERR_PALETTEUNAVAILABLE;
|
||||
}
|
||||
|
||||
HRESULT STDMETHODCALLTYPE CopyPixels(
|
||||
|
Loading…
Reference in New Issue
Block a user