Remove the now unnecessary GLSL_CompileShaderS().

Now that the transition to using shader effects is comlete, there's no
need for the wrapper.
This commit is contained in:
Bill Currie 2014-01-28 13:36:45 +09:00
parent 57d2198140
commit a5db0b1a65
2 changed files with 0 additions and 10 deletions

View file

@ -48,7 +48,6 @@ extern int glsl_colormap;
void GLSL_Init_Common (void);
int GLSL_CompileShader (const char *name, const shader_t *shader, int type);
int GLSL_CompileShaderS (const char *name, const char *src, int type);
int GLSL_LinkProgram (const char *name, int vert, int frag);
int GLSL_ResolveShaderParam (int program, shaderparam_t *param);
void GLSL_DumpAttribArrays (void);

View file

@ -217,15 +217,6 @@ GLSL_CompileShader (const char *name, const shader_t *shader, int type)
return sid;
}
int
GLSL_CompileShaderS (const char *name, const char *src, int type)
{
const char *shader_src = src;
const char *shader_name = "wrapped";
shader_t shader = {1, &shader_src, &shader_name};
return GLSL_CompileShader (name, &shader, type);
}
static const char *
type_name (GLenum type)
{