Begin2D doesn't need a return type anymore

This was to tell the caller that software 2D was in use, but that doesn't exist anymore
This commit is contained in:
Christoph Oelckers 2018-04-27 09:58:19 +02:00
commit bbea6e7e3c
7 changed files with 9 additions and 8 deletions

View file

@ -153,7 +153,7 @@ bool GLWall::SetupLights(FDynLightData &lightdata)
void FDrawInfo::RenderWall(GLWall *wall, int textured)
{
assert(vertcount > 0);
assert(wall->vertcount > 0);
gl_RenderState.Apply();
gl_RenderState.ApplyLightIndex(wall->dynlightindex);
GLRenderer->mVBO->RenderArray(GL_TRIANGLE_FAN, wall->vertindex, wall->vertcount);