dxgi: Do not warn about ignoring a null refresh rate.

Both values will be zero if fullscreen_desc was NULL.

Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Conor McCarthy 2019-10-08 14:13:52 +10:00 committed by Alexandre Julliard
parent 890428abdc
commit 66548659d0
1 changed files with 2 additions and 1 deletions

View File

@ -2880,6 +2880,7 @@ static HRESULT d3d12_swapchain_init(struct d3d12_swapchain *swapchain, IWineDXGI
if (swapchain_desc->Flags)
FIXME("Ignoring swapchain flags %#x.\n", swapchain_desc->Flags);
if (fullscreen_desc->RefreshRate.Numerator || fullscreen_desc->RefreshRate.Denominator)
FIXME("Ignoring refresh rate.\n");
if (fullscreen_desc->ScanlineOrdering)
FIXME("Unhandled scanline ordering %#x.\n", fullscreen_desc->ScanlineOrdering);