Disabled DX12 on mingw since it is not working (nw)

This commit is contained in:
Miodrag Milanovic 2015-10-15 10:52:18 +02:00
parent 8981faa61f
commit 58bf8e3345
3 changed files with 7 additions and 3 deletions

View File

@ -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)
{

View File

@ -645,7 +645,7 @@ project "bgfx"
MAME_DIR .. "3rdparty/bgfx/examples/common/font/text_buffer_manager.cpp",
MAME_DIR .. "3rdparty/bgfx/examples/common/font/text_metrics.cpp",
MAME_DIR .. "3rdparty/bgfx/examples/common/font/utf8.cpp",
MAME_DIR .. "3rdparty/bgfx/examples/common/imgui/imgui.cpp",
--MAME_DIR .. "3rdparty/bgfx/examples/common/imgui/imgui.cpp",
MAME_DIR .. "3rdparty/bgfx/examples/common/nanovg/nanovg.cpp",
MAME_DIR .. "3rdparty/bgfx/examples/common/nanovg/nanovg_bgfx.cpp",
}

View File

@ -28,8 +28,8 @@
#include "emu.h"
#include "window.h"
#include <bgfxplatform.h>
#include <bgfx.h>
#include <bgfx/bgfxplatform.h>
#include <bgfx/bgfx.h>
//============================================================
// DEBUGGING