diff --git a/sources/Renderer/Direct3D11/D3D11RenderSystem.h b/sources/Renderer/Direct3D11/D3D11RenderSystem.h index ef5e9539b7..91bd6dfd50 100644 --- a/sources/Renderer/Direct3D11/D3D11RenderSystem.h +++ b/sources/Renderer/Direct3D11/D3D11RenderSystem.h @@ -42,7 +42,9 @@ #include "Direct3D11.h" #if LLGL_D3D11_ENABLE_FEATURELEVEL >= 3 -#include +# include +#elif defined LLGL_OS_UWP +# include #endif @@ -130,11 +132,11 @@ class D3D11RenderSystem final : public RenderSystem ComPtr factory_; - #if LLGL_D3D11_ENABLE_FEATURELEVEL >= 1 + #if LLGL_D3D11_ENABLE_FEATURELEVEL >= 1 || defined LLGL_OS_UWP ComPtr factory1_; #endif - #if LLGL_D3D11_ENABLE_FEATURELEVEL >= 2 + #if LLGL_D3D11_ENABLE_FEATURELEVEL >= 2 || defined LLGL_OS_UWP ComPtr factory2_; #endif diff --git a/sources/Renderer/Direct3D11/D3D11SwapChain.h b/sources/Renderer/Direct3D11/D3D11SwapChain.h index 0f5cdb189e..6f110269be 100644 --- a/sources/Renderer/Direct3D11/D3D11SwapChain.h +++ b/sources/Renderer/Direct3D11/D3D11SwapChain.h @@ -14,7 +14,7 @@ #include #include -#if LLGL_D3D11_ENABLE_FEATURELEVEL >= 3 +#if LLGL_D3D11_ENABLE_FEATURELEVEL >= 3 || defined LLGL_OS_UWP # include #endif