d3d12,dzn: Simplify the usage of #include <wsl/winadapter.h>

Now wsl/winadapter.h are platform independent

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26508>
This commit is contained in:
Yonggang Luo 2023-12-05 02:00:41 +08:00 committed by Marge Bot
parent 767aa00230
commit e568ef122a
2 changed files with 0 additions and 8 deletions

View file

@ -26,11 +26,7 @@
#pragma once
#ifndef _WIN32
#include <wsl/winadapter.h>
#else
#include <unknwn.h>
#endif
#define D3D12_IGNORE_SDK_LAYERS
#ifndef _GAMING_XBOX

View file

@ -26,11 +26,7 @@
#include <vulkan/vulkan.h>
#include <unknwn.h>
#ifndef _WIN32
#include <wsl/winadapter.h>
#endif
#include <stdbool.h>