From ebbfe735574a74122f4a52eac9631ba19cd8f013 Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 27 Feb 2020 19:50:17 -0500 Subject: renderer_opengl: Reduce swap chain size to 3. --- src/video_core/renderer_opengl/renderer_opengl.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 3280020af..447f69d4d 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -25,9 +25,8 @@ namespace OpenGL { // If the size of this is too small, it ends up creating a soft cap on FPS as the renderer will have -// to wait on available presentation frames. There doesn't seem to be much of a downside to a larger -// number but 9 swap textures at 60FPS presentation allows for 800% speed so thats probably fine -constexpr std::size_t SWAP_CHAIN_SIZE = 9; +// to wait on available presentation frames. +constexpr std::size_t SWAP_CHAIN_SIZE = 3; struct Frame { u32 width{}; /// Width of the frame (to detect resize) -- cgit v1.2.3