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:
@@ -1375,10 +1375,9 @@ public:
|
|||||||
return S_OK;
|
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 WINCODEC_ERR_PALETTEUNAVAILABLE;
|
||||||
return S_OK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT STDMETHODCALLTYPE CopyPixels(
|
HRESULT STDMETHODCALLTYPE CopyPixels(
|
||||||
|
Reference in New Issue
Block a user