@@ -19,11 +19,11 @@ std::shared_ptr<IGraphicsPlugin> CreateGraphicsPlugin_OpenGL(const std::shared_p
1919std::shared_ptr<IGraphicsPlugin> CreateGraphicsPlugin_Vulkan (const std::shared_ptr<Options>& options,
2020 std::shared_ptr<IPlatformPlugin> platformPlugin);
2121#endif
22- #if defined(XR_USE_GRAPHICS_API_D3D11) && !defined(__MINGW32__ )
22+ #if defined(XR_USE_GRAPHICS_API_D3D11) && !defined(MISSING_DIRECTX_COLORS )
2323std::shared_ptr<IGraphicsPlugin> CreateGraphicsPlugin_D3D11 (const std::shared_ptr<Options>& options,
2424 std::shared_ptr<IPlatformPlugin> platformPlugin);
2525#endif
26- #ifdef XR_USE_GRAPHICS_API_D3D12
26+ #if defined( XR_USE_GRAPHICS_API_D3D12) && !defined(MISSING_DIRECTX_COLORS)
2727std::shared_ptr<IGraphicsPlugin> CreateGraphicsPlugin_D3D12 (const std::shared_ptr<Options>& options,
2828 std::shared_ptr<IPlatformPlugin> platformPlugin);
2929#endif
@@ -51,13 +51,13 @@ std::map<std::string, GraphicsPluginFactory, IgnoreCaseStringLess> graphicsPlugi
5151 return CreateGraphicsPlugin_Vulkan (options, std::move (platformPlugin));
5252 }},
5353#endif
54- #if defined(XR_USE_GRAPHICS_API_D3D11) && !defined(__MINGW32__ )
54+ #if defined(XR_USE_GRAPHICS_API_D3D11) && !defined(MISSING_DIRECTX_COLORS )
5555 {" D3D11" ,
5656 [](const std::shared_ptr<Options>& options, std::shared_ptr<IPlatformPlugin> platformPlugin) {
5757 return CreateGraphicsPlugin_D3D11 (options, std::move (platformPlugin));
5858 }},
5959#endif
60- #ifdef XR_USE_GRAPHICS_API_D3D12
60+ #if defined( XR_USE_GRAPHICS_API_D3D12) && !defined(MISSING_DIRECTX_COLORS)
6161 {" D3D12" ,
6262 [](const std::shared_ptr<Options>& options, std::shared_ptr<IPlatformPlugin> platformPlugin) {
6363 return CreateGraphicsPlugin_D3D12 (options, std::move (platformPlugin));
0 commit comments