summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-11-26 00:44:53 +0100
committerGitHub <noreply@github.com>2020-11-26 00:44:53 +0100
commit0e15c68f54ae5217e6247603b9e31757515f89e1 (patch)
tree5547698f9917260b0172298b9c2219a399063987 /src/video_core/renderer_vulkan
parentMerge pull request #4946 from ameerj/alpha-test (diff)
parentOverhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread (diff)
downloadyuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.gz
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.bz2
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.lz
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.xz
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.tar.zst
yuzu-0e15c68f54ae5217e6247603b9e31757515f89e1.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/renderer_vulkan.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.cpp b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
index f2610868e..a2173edd2 100644
--- a/src/video_core/renderer_vulkan/renderer_vulkan.cpp
+++ b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
@@ -252,8 +252,6 @@ RendererVulkan::~RendererVulkan() {
}
void RendererVulkan::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) {
- render_window.PollEvents();
-
if (!framebuffer) {
return;
}
@@ -283,7 +281,7 @@ void RendererVulkan::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) {
rasterizer->TickFrame();
}
- render_window.PollEvents();
+ render_window.OnFrameDisplayed();
}
bool RendererVulkan::Init() {