From 5bc7ea4045d40a51181ca320a9083d2e3351657f Mon Sep 17 00:00:00 2001 From: TwinAphex51224 Date: Sat, 3 Dec 2011 03:10:23 +0100 Subject: [PATCH] (PS3) Properly exits now with shader loaded --- gfx/shader_cg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gfx/shader_cg.c b/gfx/shader_cg.c index fb458574a9..4effe30383 100644 --- a/gfx/shader_cg.c +++ b/gfx/shader_cg.c @@ -312,7 +312,9 @@ void gl_cg_deinit(void) } #endif +#ifndef __CELLOS_LV2__ cgDestroyContext(cgCtx); +#endif } #define SET_LISTING_INDEX(type, index) \