mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Buildfix
This commit is contained in:
parent
56b64689b7
commit
c64b761f80
@ -659,10 +659,10 @@ static void d3d9_cg_deinit_progs(void *data)
|
||||
cg_data->passes[i].tex = NULL;
|
||||
d3d_vertex_buffer_free(cg_data->passes[i].vertex_buf, cg_data->passes[i].vertex_decl);
|
||||
|
||||
if (chain->passes[i].fPrg)
|
||||
cgDestroyProgram(chain->passes[i].fPrg);
|
||||
if (chain->passes[i].vPrg)
|
||||
cgDestroyProgram(chain->passes[i].vPrg);
|
||||
if (cg_data->passes[i].fPrg)
|
||||
cgDestroyProgram(cg_data->passes[i].fPrg);
|
||||
if (cg_data->passes[i].vPrg)
|
||||
cgDestroyProgram(cg_data->passes[i].vPrg);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user