mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests: Distinguish between cross and non-cross Win32 builds.
Now the tests compile correctly on non-cross Win32 builds.
This commit is contained in:
committed by
Alexandre Julliard
parent
9c817e5e6d
commit
44d9e2d728
Notes:
Alexandre Julliard
2023-01-24 22:27:46 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/57
@@ -56,7 +56,7 @@ typedef int HRESULT;
|
||||
#include <stddef.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef VKD3D_CROSSTEST
|
||||
# include "vkd3d_dxgi1_4.h"
|
||||
#else
|
||||
# define VKD3D_UTILS_API_VERSION VKD3D_API_VERSION_1_2
|
||||
@@ -261,7 +261,7 @@ static void wait_queue_idle_(unsigned int line, ID3D12Device *device, ID3D12Comm
|
||||
static bool use_warp_device;
|
||||
static unsigned int use_adapter_idx;
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef VKD3D_CROSSTEST
|
||||
static IUnknown *create_warp_adapter(IDXGIFactory4 *factory)
|
||||
{
|
||||
IUnknown *adapter;
|
||||
|
||||
Reference in New Issue
Block a user