diff options
author | bunnei <bunneidev@gmail.com> | 2020-02-28 01:50:17 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-02-28 01:50:17 +0100 |
commit | ebbfe735574a74122f4a52eac9631ba19cd8f013 (patch) | |
tree | 0a27f0ab5d3b41b84a3e76ad1cda8757c58d8063 /src | |
parent | renderer_opengl: Use more concise lock syntax. (diff) | |
download | yuzu-ebbfe735574a74122f4a52eac9631ba19cd8f013.tar yuzu-ebbfe735574a74122f4a52eac9631ba19cd8f013.tar.gz yuzu-ebbfe735574a74122f4a52eac9631ba19cd8f013.tar.bz2 yuzu-ebbfe735574a74122f4a52eac9631ba19cd8f013.tar.lz yuzu-ebbfe735574a74122f4a52eac9631ba19cd8f013.tar.xz yuzu-ebbfe735574a74122f4a52eac9631ba19cd8f013.tar.zst yuzu-ebbfe735574a74122f4a52eac9631ba19cd8f013.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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) |