From 18c259e19a15875ad6ec720471ef3b6598526727 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 2 Feb 2012 20:42:20 +0100 Subject: [PATCH] Revert "(PS3) Fix for Cg reset context - seems to work on PS3" This reverts commit 56e862edf8616bc09570ca105d399010b1e9ebc0. Implementation is not quite correct. --- gfx/shader_cg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gfx/shader_cg.c b/gfx/shader_cg.c index eb0fbd1f09..bbe07dccd9 100644 --- a/gfx/shader_cg.c +++ b/gfx/shader_cg.c @@ -320,8 +320,10 @@ void gl_cg_deinit(void) menu_cg_program = NULL; } - cgCtx = NULL; +#ifndef __CELLOS_LV2__ cgDestroyContext(cgCtx); + cgCtx = NULL; +#endif } #define SET_LISTING(type) \