소스 검색

Fix compile warnings in SDL examples

Jamie Seward 9 년 전
부모
커밋
0a1d456de1
2개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp
  2. 0 1
      examples/sdl_opengl_example/imgui_impl_sdl.cpp

+ 0 - 1
examples/sdl_opengl3_example/imgui_impl_sdl_gl3.cpp

@@ -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;
         }

+ 0 - 1
examples/sdl_opengl_example/imgui_impl_sdl.cpp

@@ -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;
         }