gdi32: Fix some test failures when not using X11.

Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gijs Vermeulen 2020-07-07 16:58:37 +02:00 committed by Alexandre Julliard
parent d117156862
commit 53d54af817
1 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ static void test_D3DKMTOpenAdapterFromHdc(void)
if (!pD3DKMTOpenAdapterFromHdc || pD3DKMTOpenAdapterFromHdc(NULL) == STATUS_PROCEDURE_NOT_FOUND) if (!pD3DKMTOpenAdapterFromHdc || pD3DKMTOpenAdapterFromHdc(NULL) == STATUS_PROCEDURE_NOT_FOUND)
{ {
skip("D3DKMTOpenAdapterFromHdc() is unavailable.\n"); win_skip("D3DKMTOpenAdapterFromHdc() is unavailable.\n");
return; return;
} }
@ -367,7 +367,7 @@ static void test_D3DKMTCheckVidPnExclusiveOwnership(void)
if (!pD3DKMTCheckVidPnExclusiveOwnership || pD3DKMTCheckVidPnExclusiveOwnership(NULL) == STATUS_PROCEDURE_NOT_FOUND) if (!pD3DKMTCheckVidPnExclusiveOwnership || pD3DKMTCheckVidPnExclusiveOwnership(NULL) == STATUS_PROCEDURE_NOT_FOUND)
{ {
win_skip("D3DKMTCheckVidPnExclusiveOwnership() is unavailable.\n"); skip("D3DKMTCheckVidPnExclusiveOwnership() is unavailable.\n");
return; return;
} }
@ -591,7 +591,7 @@ static void test_D3DKMTSetVidPnSourceOwner(void)
if (!pD3DKMTSetVidPnSourceOwner || pD3DKMTSetVidPnSourceOwner(&set_owner_desc) == STATUS_PROCEDURE_NOT_FOUND) if (!pD3DKMTSetVidPnSourceOwner || pD3DKMTSetVidPnSourceOwner(&set_owner_desc) == STATUS_PROCEDURE_NOT_FOUND)
{ {
win_skip("D3DKMTSetVidPnSourceOwner() is unavailable.\n"); skip("D3DKMTSetVidPnSourceOwner() is unavailable.\n");
return; return;
} }