1
0
mirror of synced 2024-11-24 15:50:16 +01:00

fix: Web build not working anymore

This commit is contained in:
WerWolv 2023-11-20 23:51:50 +01:00
parent 9e0b02f86e
commit 3da209b562

View File

@ -6,7 +6,14 @@
#include <imgui.h>
#include <imgui_internal.h>
#include <imgui_impl_opengl3_loader.h>
#if defined(OS_WEB)
#define GLFW_INCLUDE_ES3
#include <GLES3/gl3.h>
#else
#include <imgui_impl_opengl3_loader.h>
#endif
#undef IMGUI_DEFINE_MATH_OPERATORS
#define STB_IMAGE_IMPLEMENTATION