diff --git a/gfx/shader_cg.c b/gfx/shader_cg.c index f05f8d52ac..56b9eeb85f 100644 --- a/gfx/shader_cg.c +++ b/gfx/shader_cg.c @@ -320,8 +320,10 @@ void gl_cg_deinit(void) menu_cg_program = NULL; } +#ifndef __CELLOS_LV2__ cgDestroyContext(cgCtx); cgCtx = NULL; +#endif } #define SET_LISTING(type) \