mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
Disabled DX12 on mingw since it is not working (nw)
This commit is contained in:
parent
8981faa61f
commit
58bf8e3345
4
3rdparty/bgfx/src/bgfx.cpp
vendored
4
3rdparty/bgfx/src/bgfx.cpp
vendored
@ -1563,7 +1563,11 @@ again:
|
|||||||
|
|
||||||
if (windowsVersionIs(Condition::GreaterEqual, 0x0602) )
|
if (windowsVersionIs(Condition::GreaterEqual, 0x0602) )
|
||||||
{
|
{
|
||||||
|
#if defined(__MINGW32__)
|
||||||
|
first = RendererType::Direct3D11;
|
||||||
|
#else
|
||||||
first = RendererType::Direct3D12;
|
first = RendererType::Direct3D12;
|
||||||
|
#endif // __MINGW32__
|
||||||
second = RendererType::Direct3D11;
|
second = RendererType::Direct3D11;
|
||||||
if (!s_rendererCreator[second].supported)
|
if (!s_rendererCreator[second].supported)
|
||||||
{
|
{
|
||||||
|
@ -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_buffer_manager.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/examples/common/font/text_metrics.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/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.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/examples/common/nanovg/nanovg_bgfx.cpp",
|
MAME_DIR .. "3rdparty/bgfx/examples/common/nanovg/nanovg_bgfx.cpp",
|
||||||
}
|
}
|
||||||
|
@ -28,8 +28,8 @@
|
|||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|
||||||
#include <bgfxplatform.h>
|
#include <bgfx/bgfxplatform.h>
|
||||||
#include <bgfx.h>
|
#include <bgfx/bgfx.h>
|
||||||
|
|
||||||
//============================================================
|
//============================================================
|
||||||
// DEBUGGING
|
// DEBUGGING
|
||||||
|
Loading…
Reference in New Issue
Block a user