citra-emu
/
citra-canary
Archived
1
0
Fork 0

gl_format_reinterpreter: Don't release unconditionally (#6459)

This commit is contained in:
GPUCode 2023-04-23 00:35:25 +03:00 committed by GitHub
parent 1b944f3255
commit 9ba6a90193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -126,7 +126,9 @@ void ShaderD24S8toRGBA8::Reinterpret(Surface& source, Common::Rectangle<u32> src
glUniform2i(src_offset_loc, src_rect.left, src_rect.bottom);
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
if (use_texture_view) {
temp_tex.Release();
}
}
} // namespace OpenGL