mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
dzn: Define COBJMACROS before any includes
Otherwise the IUnknown definition might get included before it. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Bill Kristiansen <billkris@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17340>
This commit is contained in:
parent
f47e42fdba
commit
1a01187e1b
1 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,8 @@
|
|||
#ifndef DZN_PRIVATE_H
|
||||
#define DZN_PRIVATE_H
|
||||
|
||||
#define COBJMACROS
|
||||
|
||||
#include "vk_command_pool.h"
|
||||
#include "vk_command_buffer.h"
|
||||
#include "vk_cmd_queue.h"
|
||||
|
|
@ -56,7 +58,6 @@
|
|||
#include <vulkan/vk_icd.h>
|
||||
|
||||
#define D3D12_IGNORE_SDK_LAYERS
|
||||
#define COBJMACROS
|
||||
#include <unknwn.h>
|
||||
#include <dxgi1_4.h>
|
||||
#include <directx/d3d12.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue