From 9520cefdd48edabe2d7ec658d60bc90d05743387 Mon Sep 17 00:00:00 2001 From: Gregor Brunmar Date: Sun, 10 Feb 2008 09:08:50 +0000 Subject: [PATCH] Fixed a typo svn path=/trunk/; revision=32251 --- reactos/dll/directx/d3d9/d3d9_impl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/directx/d3d9/d3d9_impl.c b/reactos/dll/directx/d3d9/d3d9_impl.c index 9e9f34a4a3e..87b7bdd2abb 100644 --- a/reactos/dll/directx/d3d9/d3d9_impl.c +++ b/reactos/dll/directx/d3d9/d3d9_impl.c @@ -189,7 +189,7 @@ static UINT WINAPI IDirect3D9Impl_GetAdapterModeCount(LPDIRECT3D9 iface, UINT Ad return D3DERR_INVALIDCALL; } - if (Format != D3DFMT_R5G6B5) + if (Format != D3DFMT_A2R10G10B10) { AdapterModeCount = GetDisplayFormatCount( Format, @@ -261,7 +261,7 @@ static HRESULT WINAPI IDirect3D9Impl_EnumAdapterModes(LPDIRECT3D9 iface, UINT Ad return D3DERR_INVALIDCALL; } - if (Format != D3DFMT_R5G6B5) + if (Format != D3DFMT_A2R10G10B10) { pMatchingDisplayFormat = FindDisplayFormat( Format,