Skip to content

Commit

Permalink
minor simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
scribam committed Sep 22, 2024
1 parent a745ba2 commit 31b844a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vita3k/gui/src/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ void draw_end(GuiState &gui, EmuEnvState &emuenv) {
}

state.CommandBuffer = vk_state.screen_renderer.current_cmd_buffer;
return ImGui_ImplVulkan_RenderDrawData(dynamic_cast<ImGui_VulkanState &>(*gui.imgui_state), ImGui::GetDrawData(), state.CommandBuffer);
return ImGui_ImplVulkan_RenderDrawData(state, ImGui::GetDrawData(), state.CommandBuffer);
}
}

Expand Down

0 comments on commit 31b844a

Please sign in to comment.