Commit 126d3b70 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

d3dx9: Add FIXME for unlockable source surface in D3DXLoadSurfaceFromSurface().

parent f9f6f427
......@@ -1916,7 +1916,10 @@ HRESULT WINAPI D3DXLoadSurfaceFromSurface(IDirect3DSurface9 *dst_surface,
rect = *src_rect;
if (FAILED(IDirect3DSurface9_LockRect(src_surface, &lock, NULL, D3DLOCK_READONLY)))
{
FIXME("Called for unlockable source surface.\n");
return D3DXERR_INVALIDDATA;
}
hr = D3DXLoadSurfaceFromMemory(dst_surface, dst_palette, dst_rect,
lock.pBits, SrcDesc.Format, lock.Pitch, src_palette, &rect, filter, color_key);
......
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