summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp5
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 @@
25namespace OpenGL { 25namespace OpenGL {
26 26
27// If the size of this is too small, it ends up creating a soft cap on FPS as the renderer will have 27// If the size of this is too small, it ends up creating a soft cap on FPS as the renderer will have
28// to wait on available presentation frames. There doesn't seem to be much of a downside to a larger 28// to wait on available presentation frames.
29// number but 9 swap textures at 60FPS presentation allows for 800% speed so thats probably fine 29constexpr std::size_t SWAP_CHAIN_SIZE = 3;
30constexpr std::size_t SWAP_CHAIN_SIZE = 9;
31 30
32struct Frame { 31struct Frame {
33 u32 width{}; /// Width of the frame (to detect resize) 32 u32 width{}; /// Width of the frame (to detect resize)