mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 15:01:41 +00:00
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:
parent
57d2198140
commit
a5db0b1a65
2 changed files with 0 additions and 10 deletions
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue