Commit c8ae37a9 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 5ebd6652
...@@ -1039,6 +1039,9 @@ HRESULT WINAPI D3DXLoadSurfaceFromMemory(LPDIRECT3DSURFACE9 pDestSurface, ...@@ -1039,6 +1039,9 @@ HRESULT WINAPI D3DXLoadSurfaceFromMemory(LPDIRECT3DSURFACE9 pDestSurface,
} }
else /* if ((dwFilter & 0xf) == D3DX_FILTER_POINT) */ 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, /* Always apply a point filter until D3DX_FILTER_LINEAR,
* D3DX_FILTER_TRIANGLE and D3DX_FILTER_BOX are implemented. */ * D3DX_FILTER_TRIANGLE and D3DX_FILTER_BOX are implemented. */
point_filter_simple_data(pSrcMemory, SrcPitch, src_size, srcformatdesc, point_filter_simple_data(pSrcMemory, SrcPitch, src_size, srcformatdesc,
......
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