Skip to content

Commit

Permalink
Merge pull request ocornut#756 from jseward/master
Browse files Browse the repository at this point in the history
Examples: SDL: Fix compile warnings.
  • Loading branch information
ocornut authored Jul 31, 2016
2 parents 954c890 + 0a1d456 commit 9ab20e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ bool ImGui_ImplSdlGL3_ProcessEvent(SDL_Event* event)
}
case SDL_TEXTINPUT:
{
ImGuiIO& io = ImGui::GetIO();
io.AddInputCharactersUTF8(event->text.text);
return true;
}
Expand Down
1 change: 0 additions & 1 deletion examples/sdl_opengl_example/imgui_impl_sdl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ bool ImGui_ImplSdl_ProcessEvent(SDL_Event* event)
}
case SDL_TEXTINPUT:
{
ImGuiIO& io = ImGui::GetIO();
io.AddInputCharactersUTF8(event->text.text);
return true;
}
Expand Down

0 comments on commit 9ab20e6

Please sign in to comment.