Browse Source

fix imgui_sdl

opengl-renderer-broken
Martin Dørum 4 years ago
parent
commit
246dae6cb9
2 changed files with 1 additions and 4 deletions
  1. 0
    3
      src/main.cc
  2. 1
    1
      third_party/imgui_sdl

+ 0
- 3
src/main.cc View File

@@ -247,9 +247,6 @@ int main(int argc, char **argv) {
ImGui::Render();
ImGuiSDL::Render(ImGui::GetDrawData());

// ImGuiSDL changes renderer draw color...
SDL_SetRenderDrawColor(renderer.get(), 0, 0, 0, 255);

RTClock present_clock;
SDL_RenderPresent(renderer.get());
pcounter.countRenderPresent(present_clock.duration());

+ 1
- 1
third_party/imgui_sdl

@@ -1 +1 @@
Subproject commit b9ba533ba28bd875c75b04888bdde2ab4e464122
Subproject commit 6cb719dc505a9328c6b1fdb801acb64d8d703dda

Loading…
Cancel
Save