summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-05-18 03:24:44 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-05-18 03:45:09 +0200
commit4cff5dd1940cf8eded9daa445c16c90c89720a4a (patch)
treef9f59f05e62b4bb4e8c9091d6694744011870d09 /src/video_core
parentMerge pull request #3665 from bunnei/device-save (diff)
downloadyuzu-4cff5dd1940cf8eded9daa445c16c90c89720a4a.tar
yuzu-4cff5dd1940cf8eded9daa445c16c90c89720a4a.tar.gz
yuzu-4cff5dd1940cf8eded9daa445c16c90c89720a4a.tar.bz2
yuzu-4cff5dd1940cf8eded9daa445c16c90c89720a4a.tar.lz
yuzu-4cff5dd1940cf8eded9daa445c16c90c89720a4a.tar.xz
yuzu-4cff5dd1940cf8eded9daa445c16c90c89720a4a.tar.zst
yuzu-4cff5dd1940cf8eded9daa445c16c90c89720a4a.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index b2a179746..acabc3497 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -753,6 +753,9 @@ void RendererOpenGL::RenderScreenshot() {
bool RendererOpenGL::Init() {
if (GLAD_GL_KHR_debug) {
glEnable(GL_DEBUG_OUTPUT);
+ if (Settings::values.renderer_debug) {
+ glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
+ }
glDebugMessageCallback(DebugHandler, nullptr);
}