mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 03:18:13 +00:00
GDK build: PFN_D3D12_XBOX_CREATE_DEVICE not defined for Xbox One (#10690)
This commit is contained in:
@@ -882,6 +882,11 @@ static ID3D12Device *s_Device;
|
||||
static ID3D12CommandQueue *s_CommandQueue;
|
||||
#endif
|
||||
|
||||
#if defined(SDL_PLATFORM_XBOXONE)
|
||||
// This is not defined in d3d12_x.h.
|
||||
typedef HRESULT (D3DAPI* PFN_D3D12_XBOX_CREATE_DEVICE)(_In_opt_ IGraphicsUnknown*, _In_ const D3D12XBOX_CREATE_DEVICE_PARAMETERS*, _In_ REFIID, _Outptr_opt_ void**);
|
||||
#endif
|
||||
|
||||
// Logging
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user