fix an rtlight crash.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4680 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-06-05 11:21:37 +00:00
parent 454a87ba55
commit 945020e760

View file

@ -782,6 +782,7 @@ void GLBE_RenderShadowBuffer(unsigned int numverts, int vbo, vecV_t *verts, unsi
shaderstate.sourcevbo = &shaderstate.dummyvbo;
shaderstate.dummyvbo.indicies.gl.vbo = ibo;
GL_SelectEBO(ibo);
if (shaderstate.allblackshader)
{