1
0
mirror of synced 2025-01-11 05:42:15 +01:00

build: Fix remaining build issues

This commit is contained in:
WerWolv 2024-12-27 00:02:37 +01:00
parent ffac13bfef
commit a476617432
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit ebfb8d2927bbb075ec007e92e635c9b609808a3d
Subproject commit 93e04085fff70bf49441ba489a75e6edd498e6b9

View File

@ -497,7 +497,7 @@ namespace hex::init {
ImGui_ImplOpenGL3_Init("#version 150");
#elif defined(OS_WEB)
ImGui_ImplOpenGL3_Init();
ImGui_ImplGlfw_InstallEmscriptenCallbacks("#canvas");
ImGui_ImplGlfw_InstallEmscriptenCallbacks(m_window, "#canvas");
#else
ImGui_ImplOpenGL3_Init("#version 130");
#endif

View File

@ -1042,7 +1042,7 @@ namespace hex {
ImGui_ImplOpenGL3_Init("#version 150");
#elif defined(OS_WEB)
ImGui_ImplOpenGL3_Init();
ImGui_ImplGlfw_InstallEmscriptenCallbacks("#canvas");
ImGui_ImplGlfw_InstallEmscriptenCallbacks(m_window, "#canvas");
#else
ImGui_ImplOpenGL3_Init("#version 130");
#endif