d3dx9: Add a FIXME for unsupported filter types to D3DXLoadSurfaceFromMemory().

This commit is contained in:
Henri Verbeet 2012-04-29 20:52:06 +02:00 committed by Alexandre Julliard
parent 5ebd6652ca
commit c8ae37a9a9
1 changed files with 3 additions and 0 deletions

View File

@ -1039,6 +1039,9 @@ HRESULT WINAPI D3DXLoadSurfaceFromMemory(LPDIRECT3DSURFACE9 pDestSurface,
}
else /* if ((dwFilter & 0xf) == D3DX_FILTER_POINT) */
{
if ((dwFilter & 0xf) != D3DX_FILTER_POINT)
FIXME("Unhandled filter %#x.\n", dwFilter);
/* Always apply a point filter until D3DX_FILTER_LINEAR,
* D3DX_FILTER_TRIANGLE and D3DX_FILTER_BOX are implemented. */
point_filter_simple_data(pSrcMemory, SrcPitch, src_size, srcformatdesc,