fix: Web build not working anymore
This commit is contained in:
parent
9e0b02f86e
commit
3da209b562
@ -6,7 +6,14 @@
|
||||
|
||||
#include <imgui.h>
|
||||
#include <imgui_internal.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
|
||||
|
Loading…
Reference in New Issue
Block a user