From 58ac7c320e98bb7692072fb6dfe57703fffb354f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 12 May 2018 19:22:37 +0200 Subject: [PATCH] (dxgi_common.c) Add more __WINRT__ ifdefs --- gfx/common/dxgi_common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/common/dxgi_common.c b/gfx/common/dxgi_common.c index 3ab17dbe64..e7065979fc 100644 --- a/gfx/common/dxgi_common.c +++ b/gfx/common/dxgi_common.c @@ -15,6 +15,8 @@ #include #include +#include + #include #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) { +#ifndef __WINRT__ settings_t* settings = config_get_ptr(); #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 = *input_data ? &input_dinput : NULL; +#endif } DXGI_FORMAT glslang_format_to_dxgi(glslang_format fmt)