summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-10-15 10:52:18 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-10-15 10:52:18 +0200
commit58bf8e3345f40a465009c5ab5fb4a13b1530727d (patch)
treed4b4ace519bde452100f403f5d1a41e85ed24cfe /3rdparty
parent8981faa61fc1e9421805938e6656d84ff61be1f9 (diff)
Disabled DX12 on mingw since it is not working (nw)
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/bgfx/src/bgfx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/3rdparty/bgfx/src/bgfx.cpp b/3rdparty/bgfx/src/bgfx.cpp
index 34d56ddbc65..dca9c1d9da6 100644
--- a/3rdparty/bgfx/src/bgfx.cpp
+++ b/3rdparty/bgfx/src/bgfx.cpp
@@ -1563,7 +1563,11 @@ again:
if (windowsVersionIs(Condition::GreaterEqual, 0x0602) )
{
+#if defined(__MINGW32__)
+ first = RendererType::Direct3D11;
+#else
first = RendererType::Direct3D12;
+#endif // __MINGW32__
second = RendererType::Direct3D11;
if (!s_rendererCreator[second].supported)
{