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:
parent
454a87ba55
commit
945020e760
1 changed files with 1 additions and 0 deletions
|
@ -782,6 +782,7 @@ void GLBE_RenderShadowBuffer(unsigned int numverts, int vbo, vecV_t *verts, unsi
|
||||||
|
|
||||||
shaderstate.sourcevbo = &shaderstate.dummyvbo;
|
shaderstate.sourcevbo = &shaderstate.dummyvbo;
|
||||||
shaderstate.dummyvbo.indicies.gl.vbo = ibo;
|
shaderstate.dummyvbo.indicies.gl.vbo = ibo;
|
||||||
|
GL_SelectEBO(ibo);
|
||||||
|
|
||||||
if (shaderstate.allblackshader)
|
if (shaderstate.allblackshader)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue