summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-07-30 18:26:43 +0200
committerLiam <byteslice@airmail.cc>2022-07-30 19:21:26 +0200
commitb9360681df85c5cb10a75aac0c4582bf607a7d7d (patch)
tree92ef6200085deac9831da60e49b9de029c4ed557 /src/video_core
parentUpdate bug-report-feature-request.md (diff)
downloadyuzu-b9360681df85c5cb10a75aac0c4582bf607a7d7d.tar
yuzu-b9360681df85c5cb10a75aac0c4582bf607a7d7d.tar.gz
yuzu-b9360681df85c5cb10a75aac0c4582bf607a7d7d.tar.bz2
yuzu-b9360681df85c5cb10a75aac0c4582bf607a7d7d.tar.lz
yuzu-b9360681df85c5cb10a75aac0c4582bf607a7d7d.tar.xz
yuzu-b9360681df85c5cb10a75aac0c4582bf607a7d7d.tar.zst
yuzu-b9360681df85c5cb10a75aac0c4582bf607a7d7d.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_util.cpp b/src/video_core/renderer_opengl/gl_shader_util.cpp
index f83ad0a5b..a0d9d10ef 100644
--- a/src/video_core/renderer_opengl/gl_shader_util.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_util.cpp
@@ -17,6 +17,7 @@ static OGLProgram LinkSeparableProgram(GLuint shader) {
glProgramParameteri(program.handle, GL_PROGRAM_SEPARABLE, GL_TRUE);
glAttachShader(program.handle, shader);
glLinkProgram(program.handle);
+ glDetachShader(program.handle, shader);
if (!Settings::values.renderer_debug) {
return program;
}