From 9ec55a59b9b62f11396914d7294d4e6ceee68386 Mon Sep 17 00:00:00 2001 From: cholleme <> Date: Sat, 15 Mar 2003 19:32:58 +0000 Subject: [PATCH] Added videos as textures Noshadow shader command --- shaders.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shaders.c b/shaders.c index 0c1609c..04d9712 100644 --- a/shaders.c +++ b/shaders.c @@ -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(); }