mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
Compile bgfx
This commit is contained in:
parent
0acf39899f
commit
ba1e6dff41
@ -1416,7 +1416,6 @@ end
|
|||||||
"__STDC_FORMAT_MACROS",
|
"__STDC_FORMAT_MACROS",
|
||||||
"__STDC_CONSTANT_MACROS",
|
"__STDC_CONSTANT_MACROS",
|
||||||
"BGFX_CONFIG_MAX_FRAME_BUFFERS=128",
|
"BGFX_CONFIG_MAX_FRAME_BUFFERS=128",
|
||||||
"IMGUI_DISABLE_OBSOLETE_FUNCTIONS",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="netbsd" or _OPTIONS["targetos"]=="openbsd" then
|
if _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="netbsd" or _OPTIONS["targetos"]=="openbsd" then
|
||||||
@ -1453,17 +1452,19 @@ end
|
|||||||
MAME_DIR .. "3rdparty/bgfx/src/renderer_noop.cpp",
|
MAME_DIR .. "3rdparty/bgfx/src/renderer_noop.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/src/renderer_nvn.cpp",
|
MAME_DIR .. "3rdparty/bgfx/src/renderer_nvn.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/src/renderer_vk.cpp",
|
MAME_DIR .. "3rdparty/bgfx/src/renderer_vk.cpp",
|
||||||
|
MAME_DIR .. "3rdparty/bgfx/src/renderer_webgpu.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/src/shader.cpp",
|
MAME_DIR .. "3rdparty/bgfx/src/shader.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/src/shader_dx9bc.cpp",
|
MAME_DIR .. "3rdparty/bgfx/src/shader_dx9bc.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/src/shader_dxbc.cpp",
|
MAME_DIR .. "3rdparty/bgfx/src/shader_dxbc.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/src/shader_spirv.cpp",
|
MAME_DIR .. "3rdparty/bgfx/src/shader_spirv.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/src/topology.cpp",
|
MAME_DIR .. "3rdparty/bgfx/src/topology.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/src/vertexdecl.cpp",
|
MAME_DIR .. "3rdparty/bgfx/src/vertexlayout.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",
|
||||||
MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui.cpp",
|
MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui_draw.cpp",
|
MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui_draw.cpp",
|
||||||
|
MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui_tables.cpp",
|
||||||
MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui_widgets.cpp",
|
MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui_widgets.cpp",
|
||||||
}
|
}
|
||||||
if _OPTIONS["targetos"]=="macosx" then
|
if _OPTIONS["targetos"]=="macosx" then
|
||||||
|
@ -162,7 +162,6 @@ function osdmodulesbuild()
|
|||||||
"__STDC_LIMIT_MACROS",
|
"__STDC_LIMIT_MACROS",
|
||||||
"__STDC_FORMAT_MACROS",
|
"__STDC_FORMAT_MACROS",
|
||||||
"__STDC_CONSTANT_MACROS",
|
"__STDC_CONSTANT_MACROS",
|
||||||
"IMGUI_DISABLE_OBSOLETE_FUNCTIONS",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
files {
|
files {
|
||||||
|
Loading…
Reference in New Issue
Block a user