1
0
mirror of synced 2025-01-25 15:53:43 +01:00

fix: ImGui_ImplGlfw_InstallEmscriptenCanvasResizeCallback -> ImGui_ImplGlfw_InstallEmscriptenCallbacks

This commit is contained in:
WerWolv 2024-12-26 20:19:55 +01:00
parent aefc173227
commit 26c39d6822
2 changed files with 2 additions and 2 deletions

View File

@ -497,7 +497,7 @@ namespace hex::init {
ImGui_ImplOpenGL3_Init("#version 150");
#elif defined(OS_WEB)
ImGui_ImplOpenGL3_Init();
ImGui_ImplGlfw_InstallEmscriptenCanvasResizeCallback("#canvas");
ImGui_ImplGlfw_InstallEmscriptenCallbacks("#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_InstallEmscriptenCanvasResizeCallback("#canvas");
ImGui_ImplGlfw_InstallEmscriptenCallbacks("#canvas");
#else
ImGui_ImplOpenGL3_Init("#version 130");
#endif