mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-03-01 05:41:22 +00:00
Replace the current patch with the same approach as libretro-mame: Don't set PTR64=0 on 32bit archs, instead set ARCHITECTURE to an empty string. That way we don't need to patch out hardcoded -m32 arguments. While at it, disable the bgfx hw renderers, or that pile of build crap tries to include X11 headers.
12 lines
460 B
Diff
12 lines
460 B
Diff
--- a/3rdparty/bgfx/src/config.h 2020-01-14 08:42:35.023108564 +0100
|
|
+++ b/3rdparty/bgfx/src/config.h 2020-01-14 08:42:39.527041246 +0100
|
|
@@ -12,7 +12,7 @@
|
|
# define BGFX_CONFIG_DEBUG 0
|
|
#endif // BGFX_CONFIG_DEBUG
|
|
|
|
-#if !defined(BGFX_CONFIG_RENDERER_DIRECT3D9) \
|
|
+#if 0 && !defined(BGFX_CONFIG_RENDERER_DIRECT3D9) \
|
|
&& !defined(BGFX_CONFIG_RENDERER_DIRECT3D11) \
|
|
&& !defined(BGFX_CONFIG_RENDERER_DIRECT3D12) \
|
|
&& !defined(BGFX_CONFIG_RENDERER_METAL) \
|