mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 00:18:26 +00:00
Fixed a typo
svn path=/trunk/; revision=32251
This commit is contained in:
parent
fd8beb028a
commit
9520cefdd4
|
@ -189,7 +189,7 @@ static UINT WINAPI IDirect3D9Impl_GetAdapterModeCount(LPDIRECT3D9 iface, UINT Ad
|
||||||
return D3DERR_INVALIDCALL;
|
return D3DERR_INVALIDCALL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Format != D3DFMT_R5G6B5)
|
if (Format != D3DFMT_A2R10G10B10)
|
||||||
{
|
{
|
||||||
AdapterModeCount = GetDisplayFormatCount(
|
AdapterModeCount = GetDisplayFormatCount(
|
||||||
Format,
|
Format,
|
||||||
|
@ -261,7 +261,7 @@ static HRESULT WINAPI IDirect3D9Impl_EnumAdapterModes(LPDIRECT3D9 iface, UINT Ad
|
||||||
return D3DERR_INVALIDCALL;
|
return D3DERR_INVALIDCALL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Format != D3DFMT_R5G6B5)
|
if (Format != D3DFMT_A2R10G10B10)
|
||||||
{
|
{
|
||||||
pMatchingDisplayFormat = FindDisplayFormat(
|
pMatchingDisplayFormat = FindDisplayFormat(
|
||||||
Format,
|
Format,
|
||||||
|
|
Loading…
Reference in a new issue