diff --git a/lib/external/disassembler b/lib/external/disassembler index ebfb8d292..93e04085f 160000 --- a/lib/external/disassembler +++ b/lib/external/disassembler @@ -1 +1 @@ -Subproject commit ebfb8d2927bbb075ec007e92e635c9b609808a3d +Subproject commit 93e04085fff70bf49441ba489a75e6edd498e6b9 diff --git a/main/gui/source/init/splash_window.cpp b/main/gui/source/init/splash_window.cpp index 5dd0a580c..2aa393e0b 100644 --- a/main/gui/source/init/splash_window.cpp +++ b/main/gui/source/init/splash_window.cpp @@ -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 diff --git a/main/gui/source/window/window.cpp b/main/gui/source/window/window.cpp index 2e8b67686..b1c173769 100644 --- a/main/gui/source/window/window.cpp +++ b/main/gui/source/window/window.cpp @@ -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