mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(gl2_renderchain.c) Update
This commit is contained in:
parent
c52f53aada
commit
6d7ffef316
@ -520,8 +520,10 @@ static void gl2_renderchain_deinit_fbo(void *data,
|
||||
|
||||
if (chain)
|
||||
{
|
||||
glDeleteTextures(chain->fbo_pass, chain->fbo_texture);
|
||||
gl2_delete_fb(chain->fbo_pass, chain->fbo);
|
||||
if (chain->fbo)
|
||||
gl2_delete_fb(chain->fbo_pass, chain->fbo);
|
||||
if (chain->fbo_texture)
|
||||
glDeleteTextures(chain->fbo_pass, chain->fbo_texture);
|
||||
|
||||
memset(chain->fbo_texture, 0, sizeof(chain->fbo_texture));
|
||||
memset(chain->fbo, 0, sizeof(chain->fbo));
|
||||
|
Loading…
x
Reference in New Issue
Block a user