mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-08 15:35:50 +01:00
header comment fixes
This commit is contained in:
parent
bf1893272a
commit
0454ffec27
@ -37,7 +37,7 @@
|
||||
#ifndef IMGUI_DISABLE
|
||||
|
||||
#ifndef __EMSCRIPTEN__
|
||||
#error The imgui_impl_emscripten backend reqiuires Emscripten.
|
||||
#error The imgui_impl_emscripten backend requires Emscripten.
|
||||
#endif
|
||||
|
||||
// Initialise the Emscripten backend, setting input callbacks. This should be called after ImGui::CreateContext();
|
||||
@ -48,8 +48,8 @@ IMGUI_IMPL_API void ImGui_ImplEmscripten_Init();
|
||||
// Note also there is no obligation to ever call this, as there is not necessarily any such concept as "shutting down" when running in the browser, and we have no resources to release. The user can just close the tab.
|
||||
IMGUI_IMPL_API void ImGui_ImplEmscripten_Shutdown();
|
||||
|
||||
// Call every frame to update polled input events, i.e. gamepads, and update imgui's cursors.
|
||||
// If you aren't using gamepad input to control imgui, and you're not using browser native cursor rendering (i.e. if imgui is rendering cursors internally), you don't need to call this.
|
||||
// Call every frame to synchronize Dear ImGui's cursor state with the browser's native cursors.
|
||||
// If you are not using browser native cursor rendering (i.e. if Dear ImGui is rendering cursors internally), you don't need to call this.
|
||||
IMGUI_IMPL_API void ImGui_ImplEmscripten_NewFrame();
|
||||
|
||||
#endif // IMGUI_DISABLE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user