Added videos as textures

Noshadow shader command
This commit is contained in:
cholleme 2003-03-15 19:32:58 +00:00
parent 99c0669262
commit 9ec55a59b9

View file

@ -542,6 +542,8 @@ char *ParseShader (char *data, shader_t *shader)
data = COM_SkipLine(data);
} else if (!strcmp(command,"nomipmaps")) {
shader->mipmap = false;
} else if (!strcmp(command,"noshadow")) {
shader->flags |= SURF_NOSHADOW;
} else if (!strcmp(command,"cull")) {
GET_SAFE_TOKEN;
if (!strcmp(com_token,"disable")) {
@ -639,4 +641,7 @@ void R_ShutdownShaders() {
shaderList = shaderList->next;
free(s);
}
//free video textures and such
GL_ShutdownTextures();
}