Commit a044639d authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

windowscodecs: Implement GetSize for the TGA decoder.

parent df5a150b
......@@ -347,8 +347,14 @@ static ULONG WINAPI TgaDecoder_Frame_Release(IWICBitmapFrameDecode *iface)
static HRESULT WINAPI TgaDecoder_Frame_GetSize(IWICBitmapFrameDecode *iface,
UINT *puiWidth, UINT *puiHeight)
{
FIXME("(%p)\n", iface);
return E_NOTIMPL;
TgaDecoder *This = decoder_from_frame(iface);
*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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment