Skip to content
Snippets Groups Projects
Commit 126d3b70 authored by gofman1's avatar gofman1 Committed by Alexandre Julliard
Browse files

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

parent f9f6f427
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment