From a07514c88b1a3bf4eb5cab7e79e7c85369e59385 Mon Sep 17 00:00:00 2001 From: TwinAphex51224 Date: Wed, 25 Jan 2012 23:47:30 +0100 Subject: [PATCH] (PS3) Fixed the crash at SYSUTIL_REQUEST_EXITGAME triggering --- gfx/shader_cg.c | 2 ++ 1 file changed, 2 insertions(+) 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) \