fix: ImGui_ImplGlfw_InstallEmscriptenCanvasResizeCallback
-> ImGui_ImplGlfw_InstallEmscriptenCallbacks
This commit is contained in:
parent
aefc173227
commit
26c39d6822
@ -497,7 +497,7 @@ namespace hex::init {
|
|||||||
ImGui_ImplOpenGL3_Init("#version 150");
|
ImGui_ImplOpenGL3_Init("#version 150");
|
||||||
#elif defined(OS_WEB)
|
#elif defined(OS_WEB)
|
||||||
ImGui_ImplOpenGL3_Init();
|
ImGui_ImplOpenGL3_Init();
|
||||||
ImGui_ImplGlfw_InstallEmscriptenCanvasResizeCallback("#canvas");
|
ImGui_ImplGlfw_InstallEmscriptenCallbacks("#canvas");
|
||||||
#else
|
#else
|
||||||
ImGui_ImplOpenGL3_Init("#version 130");
|
ImGui_ImplOpenGL3_Init("#version 130");
|
||||||
#endif
|
#endif
|
||||||
|
@ -1042,7 +1042,7 @@ namespace hex {
|
|||||||
ImGui_ImplOpenGL3_Init("#version 150");
|
ImGui_ImplOpenGL3_Init("#version 150");
|
||||||
#elif defined(OS_WEB)
|
#elif defined(OS_WEB)
|
||||||
ImGui_ImplOpenGL3_Init();
|
ImGui_ImplOpenGL3_Init();
|
||||||
ImGui_ImplGlfw_InstallEmscriptenCanvasResizeCallback("#canvas");
|
ImGui_ImplGlfw_InstallEmscriptenCallbacks("#canvas");
|
||||||
#else
|
#else
|
||||||
ImGui_ImplOpenGL3_Init("#version 130");
|
ImGui_ImplOpenGL3_Init("#version 130");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user