summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-07-26 07:52:33 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-29 03:46:08 +0200
commit7ac99bb127fe6c09794b7e7ebe4d1c518817f40a (patch)
tree7ed5381e6e328611773754fb8a800559c7e0b692 /src/video_core/renderer_opengl
parentrenderer_vulkan: Implement screenshots (diff)
downloadyuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar.gz
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar.bz2
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar.lz
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar.xz
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.tar.zst
yuzu-7ac99bb127fe6c09794b7e7ebe4d1c518817f40a.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index f1b00c24c..7d7cba69c 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -486,7 +486,7 @@ void RendererOpenGL::RenderScreenshot() {
glBindFramebuffer(GL_READ_FRAMEBUFFER, old_read_fb);
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, old_draw_fb);
- renderer_settings.screenshot_complete_callback();
+ renderer_settings.screenshot_complete_callback(true);
renderer_settings.screenshot_requested = false;
}