windowscodecs: Implement GetSize for the TGA decoder.
This commit is contained in:
parent
df5a150b4f
commit
a044639dee
|
@ -347,8 +347,14 @@ static ULONG WINAPI TgaDecoder_Frame_Release(IWICBitmapFrameDecode *iface)
|
||||||
static HRESULT WINAPI TgaDecoder_Frame_GetSize(IWICBitmapFrameDecode *iface,
|
static HRESULT WINAPI TgaDecoder_Frame_GetSize(IWICBitmapFrameDecode *iface,
|
||||||
UINT *puiWidth, UINT *puiHeight)
|
UINT *puiWidth, UINT *puiHeight)
|
||||||
{
|
{
|
||||||
FIXME("(%p)\n", iface);
|
TgaDecoder *This = decoder_from_frame(iface);
|
||||||
return E_NOTIMPL;
|
|
||||||
|
*puiWidth = This->header.width;
|
||||||
|
*puiHeight = This->header.height;
|
||||||
|
|
||||||
|
TRACE("(%p)->(%u,%u)\n", iface, *puiWidth, *puiHeight);
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI TgaDecoder_Frame_GetPixelFormat(IWICBitmapFrameDecode *iface,
|
static HRESULT WINAPI TgaDecoder_Frame_GetPixelFormat(IWICBitmapFrameDecode *iface,
|
||||||
|
|
Loading…
Reference in New Issue