mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-29 03:00:05 +00:00
This commit is contained in:
parent
5853fbd68b
commit
dff0044d4e
12 changed files with 114 additions and 157 deletions
|
|
@ -21,7 +21,7 @@ SDL_Window* g_Window = NULL;
|
|||
SDL_GLContext g_GLContext = NULL;
|
||||
|
||||
// For clarity, our main loop code is declared at the end.
|
||||
void main_loop(void*);
|
||||
static void main_loop(void*);
|
||||
|
||||
int main(int, char**)
|
||||
{
|
||||
|
|
@ -99,7 +99,7 @@ int main(int, char**)
|
|||
emscripten_set_main_loop_arg(main_loop, NULL, 0, true);
|
||||
}
|
||||
|
||||
void main_loop(void* arg)
|
||||
static void main_loop(void* arg)
|
||||
{
|
||||
ImGuiIO& io = ImGui::GetIO();
|
||||
IM_UNUSED(arg); // We can pass this argument as the second parameter of emscripten_set_main_loop_arg(), but we don't use that.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue