mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[WINESYNC] d3dx9: Simplify unsupported format check.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id b744a309ace15a8c5494cf7134294c5869d2dade by Matteo Bruni <mbruni@codeweavers.com>
This commit is contained in:
parent
8cce0b9007
commit
74df1d450b
2 changed files with 3 additions and 3 deletions
|
@ -1894,9 +1894,9 @@ HRESULT WINAPI D3DXLoadSurfaceFromMemory(IDirect3DSurface9 *dst_surface,
|
|||
|
||||
srcformatdesc = get_format_info(src_format);
|
||||
destformatdesc = get_format_info(surfdesc.Format);
|
||||
if (srcformatdesc->type == FORMAT_UNKNOWN || destformatdesc->type == FORMAT_UNKNOWN)
|
||||
if (srcformatdesc->type == FORMAT_UNKNOWN)
|
||||
{
|
||||
FIXME("Unsupported pixel format conversion %#x -> %#x\n", src_format, surfdesc.Format);
|
||||
FIXME("Unsupported format %#x.\n", src_format);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
|
|
|
@ -15,4 +15,4 @@ files: {include/d3dx9.h: sdk/include/dxsdk/d3dx9.h, include/d3dx9anim.h: sdk/inc
|
|||
include/d3dx9mesh.h: sdk/include/dxsdk/d3dx9mesh.h, include/d3dx9of.h: sdk/include/dxsdk/d3dx9of.h,
|
||||
include/d3dx9shader.h: sdk/include/dxsdk/d3dx9shader.h, include/d3dx9shape.h: sdk/include/dxsdk/d3dx9shape.h,
|
||||
include/d3dx9tex.h: sdk/include/dxsdk/d3dx9tex.h, include/d3dx9xof.h: sdk/include/dxsdk/d3dx9xof.h}
|
||||
tags: {wine: 92c00c51b21594987d342b5ce00c174ab4e84595}
|
||||
tags: {wine: b744a309ace15a8c5494cf7134294c5869d2dade}
|
||||
|
|
Loading…
Reference in a new issue