Rename shader_cg.c to shader_gl_cg.c

This commit is contained in:
twinaphex 2014-10-02 15:19:21 +02:00
parent b22cf18228
commit e7e441d32d
3 changed files with 5 additions and 3 deletions

View File

@ -474,7 +474,7 @@ endif
ifeq ($(HAVE_CG), 1)
DEFINES += -DHAVE_CG
OBJ += gfx/shader/shader_cg.o
OBJ += gfx/shader/shader_gl_cg.o
LIBS += $(CG_LIBS)
endif

View File

@ -1021,6 +1021,6 @@ const shader_backend_t gl_cg_backend = {
gl_cg_get_current_shader,
RARCH_SHADER_CG,
"cg"
"gl_cg"
};

View File

@ -152,7 +152,9 @@ VIDEO SHADERS
#include "../gfx/shader/shader_null.c"
#ifdef HAVE_CG
#include "../gfx/shader/shader_cg.c"
#ifdef HAVE_OPENGL
#include "../gfx/shader/shader_gl_cg.c"
#endif
#endif
#ifdef HAVE_HLSL