Fixes for D3D12 on Linux.
This commit is contained in:
parent
b96deb1cec
commit
006548e00f
@ -10,7 +10,7 @@
|
||||
#include "dxgi.h"
|
||||
#include "renderer_d3d.h"
|
||||
|
||||
#if !BX_PLATFORM_WINDOWS
|
||||
#if !BX_PLATFORM_WINDOWS && !BX_PLATFORM_LINUX
|
||||
# include <inspectable.h>
|
||||
# if BX_PLATFORM_WINRT
|
||||
# include <windows.ui.xaml.media.dxinterop.h>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#if BGFX_CONFIG_RENDERER_DIRECT3D12
|
||||
# include "renderer_d3d12.h"
|
||||
|
||||
#if !BX_PLATFORM_WINDOWS
|
||||
#if !BX_PLATFORM_WINDOWS && !BX_PLATFORM_LINUX
|
||||
# include <inspectable.h>
|
||||
# if BX_PLATFORM_WINRT
|
||||
# include <windows.ui.xaml.media.dxinterop.h>
|
||||
|
@ -6,10 +6,10 @@
|
||||
#ifndef BGFX_RENDERER_D3D12_H_HEADER_GUARD
|
||||
#define BGFX_RENDERER_D3D12_H_HEADER_GUARD
|
||||
|
||||
#define USE_D3D12_DYNAMIC_LIB BX_PLATFORM_WINDOWS
|
||||
#define USE_D3D12_DYNAMIC_LIB (BX_PLATFORM_WINDOWS || BX_PLATFORM_LINUX)
|
||||
|
||||
#include <sal.h>
|
||||
#if BX_PLATFORM_WINDOWS || BX_PLATFORM_WINRT
|
||||
#if BX_PLATFORM_WINDOWS || BX_PLATFORM_WINRT || BX_PLATFORM_LINUX
|
||||
# include <d3d12.h>
|
||||
#else
|
||||
# if !BGFX_CONFIG_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user