diff options
author | comex <comexk@gmail.com> | 2020-11-22 22:05:18 +0100 |
---|---|---|
committer | comex <comexk@gmail.com> | 2020-11-23 23:58:49 +0100 |
commit | 994f4977810749c0b597e7a7531a02d907967a68 (patch) | |
tree | 82eaf8b6dea5baf60e17601771dc8191b8e69a8f /src/video_core/renderer_vulkan/renderer_vulkan.cpp | |
parent | Merge pull request #4451 from slashiee/extended-logging (diff) | |
download | yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.gz yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.bz2 yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.lz yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.xz yuzu-994f4977810749c0b597e7a7531a02d907967a68.tar.zst yuzu-994f4977810749c0b597e7a7531a02d907967a68.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/renderer_vulkan.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/renderer_vulkan.cpp | 4 |
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() { |