aboutsummaryrefslogtreecommitdiff
path: root/graphics/bgfx/files/patch-bgfx_tools_shaderc_shaderc.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/bgfx/files/patch-bgfx_tools_shaderc_shaderc.h')
-rw-r--r--graphics/bgfx/files/patch-bgfx_tools_shaderc_shaderc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/bgfx/files/patch-bgfx_tools_shaderc_shaderc.h b/graphics/bgfx/files/patch-bgfx_tools_shaderc_shaderc.h
new file mode 100644
index 000000000000..01ab9a7806f7
--- /dev/null
+++ b/graphics/bgfx/files/patch-bgfx_tools_shaderc_shaderc.h
@@ -0,0 +1,11 @@
+--- bgfx/tools/shaderc/shaderc.h.orig 2023-01-06 21:05:59 UTC
++++ bgfx/tools/shaderc/shaderc.h
+@@ -15,7 +15,7 @@ namespace bgfx
+ # define SHADERC_CONFIG_HLSL BX_PLATFORM_WINDOWS
+ #endif // SHADERC_CONFIG_HLSL
+
+-#include <alloca.h>
++//#include <alloca.h>
+ #include <stdint.h>
+ #include <string.h>
+ #include <algorithm>