mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 20:54:10 +00:00
(dxgi_common.c) Add more __WINRT__ ifdefs
This commit is contained in:
parent
cc5393e54d
commit
58ac7c320e
@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
#include <compat/strl.h>
|
#include <compat/strl.h>
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
|
#include <retro_environment.h>
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
@ -333,6 +335,7 @@ void dxgi_update_title(video_frame_info_t* video_info)
|
|||||||
|
|
||||||
void dxgi_input_driver(const char* name, const input_driver_t** input, void** input_data)
|
void dxgi_input_driver(const char* name, const input_driver_t** input, void** input_data)
|
||||||
{
|
{
|
||||||
|
#ifndef __WINRT__
|
||||||
settings_t* settings = config_get_ptr();
|
settings_t* settings = config_get_ptr();
|
||||||
|
|
||||||
#if _WIN32_WINNT >= 0x0501
|
#if _WIN32_WINNT >= 0x0501
|
||||||
@ -350,6 +353,7 @@ void dxgi_input_driver(const char* name, const input_driver_t** input, void** in
|
|||||||
|
|
||||||
*input_data = input_dinput.init(name);
|
*input_data = input_dinput.init(name);
|
||||||
*input = *input_data ? &input_dinput : NULL;
|
*input = *input_data ? &input_dinput : NULL;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
DXGI_FORMAT glslang_format_to_dxgi(glslang_format fmt)
|
DXGI_FORMAT glslang_format_to_dxgi(glslang_format fmt)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user