From 3da209b5623ff2ddfa0c392a11ae642bbed484ab Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 20 Nov 2023 23:51:50 +0100 Subject: [PATCH] fix: Web build not working anymore --- lib/libimhex/source/ui/imgui_imhex_extensions.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/libimhex/source/ui/imgui_imhex_extensions.cpp b/lib/libimhex/source/ui/imgui_imhex_extensions.cpp index 4bfc0de29..252934155 100644 --- a/lib/libimhex/source/ui/imgui_imhex_extensions.cpp +++ b/lib/libimhex/source/ui/imgui_imhex_extensions.cpp @@ -6,7 +6,14 @@ #include #include -#include + +#if defined(OS_WEB) + #define GLFW_INCLUDE_ES3 + #include +#else + #include +#endif + #undef IMGUI_DEFINE_MATH_OPERATORS #define STB_IMAGE_IMPLEMENTATION