From 7b69f77b502afca74bd45ecf4cf82947b19b90cc Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Sat, 30 Jul 2022 19:55:25 +0200 Subject: [PATCH] early-access version 2877 --- README.md | 2 +- src/video_core/renderer_opengl/gl_shader_util.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index efdaa0b4a..e54b4bd60 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 2876. +This is the source code for early-access 2877. ## Legal Notice diff --git a/src/video_core/renderer_opengl/gl_shader_util.cpp b/src/video_core/renderer_opengl/gl_shader_util.cpp index f83ad0a5b..1bee10328 100755 --- a/src/video_core/renderer_opengl/gl_shader_util.cpp +++ b/src/video_core/renderer_opengl/gl_shader_util.cpp @@ -17,6 +17,8 @@ static OGLProgram LinkSeparableProgram(GLuint shader) { glProgramParameteri(program.handle, GL_PROGRAM_SEPARABLE, GL_TRUE); glAttachShader(program.handle, shader); glLinkProgram(program.handle); + glDetachShader(program.handle, shader); + glDeleteShader(shader); if (!Settings::values.renderer_debug) { return program; }