diff --git a/src/video_core/renderer_opengl/gl_format_reinterpreter.cpp b/src/video_core/renderer_opengl/gl_format_reinterpreter.cpp index 36a1e24518..5019f79b7a 100644 --- a/src/video_core/renderer_opengl/gl_format_reinterpreter.cpp +++ b/src/video_core/renderer_opengl/gl_format_reinterpreter.cpp @@ -126,7 +126,9 @@ void ShaderD24S8toRGBA8::Reinterpret(Surface& source, Common::Rectangle src glUniform2i(src_offset_loc, src_rect.left, src_rect.bottom); glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); - temp_tex.Release(); + if (use_texture_view) { + temp_tex.Release(); + } } } // namespace OpenGL