mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
(GL/PS3) Get rid of gl_cg_reinit - no longer needed anymore
This commit is contained in:
parent
d955f14ff7
commit
b7ebfa6945
@ -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); \
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user