(GL/PS3) Get rid of gl_cg_reinit - no longer needed anymore

This commit is contained in:
twinaphex 2013-04-12 22:19:37 +02:00
parent d955f14ff7
commit b7ebfa6945
2 changed files with 0 additions and 15 deletions

View File

@ -389,17 +389,6 @@ static void gl_cg_deinit(void)
static bool gl_cg_init(const char *path);
// Deinit as much as possible without resetting context (broken on PS3),
// and reinit cleanly.
// If this fails, we're kinda screwed without resetting everything on PS3.
bool gl_cg_reinit(const char *path)
{
if (cg_active)
gl_cg_deinit_state();
return gl_cg_init(path);
}
#define SET_LISTING(type) \
{ \
const char *list = cgGetLastListing(cgCtx); \

View File

@ -20,10 +20,6 @@
#include "shader_common.h"
#include <stdint.h>
bool gl_cg_reinit(const char *path);
// Used on PS3, but not really platform specific.
#define RARCH_CG_MAX_SHADERS 16
void gl_cg_set_compiler_args(const char **argv);