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:
parent
90a1614ac8
commit
bbea6e7e3c
7 changed files with 9 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue