From c8ae37a9a936d9872960f3fa0eff6daccc470e5b Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Sun, 29 Apr 2012 20:52:06 +0200 Subject: [PATCH] d3dx9: Add a FIXME for unsupported filter types to D3DXLoadSurfaceFromMemory(). --- dlls/d3dx9_36/surface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/d3dx9_36/surface.c b/dlls/d3dx9_36/surface.c index 78a48f87160..65b6059eed5 100644 --- a/dlls/d3dx9_36/surface.c +++ b/dlls/d3dx9_36/surface.c @@ -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,