Skip to content

Commit

Permalink
Fix #4886 again
Browse files Browse the repository at this point in the history
  • Loading branch information
ashdnazg committed Jul 5, 2015
1 parent 346bc36 commit ba11af3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rts/Rendering/ProjectileDrawer.cpp
Expand Up @@ -761,11 +761,12 @@ void CProjectileDrawer::DrawGroundFlashes()
glEnable(GL_POLYGON_OFFSET_FILL);
glFogfv(GL_FOG_COLOR, black);

GroundFlashContainer& gfc = projectileHandler->groundFlashes;

CGroundFlash::va = GetVertexArray();
CGroundFlash::va->Initialize();
CGroundFlash::va->EnlargeArrays(8, 0, VA_SIZE_TC);
CGroundFlash::va->EnlargeArrays(8 * gfc.size(), 0, VA_SIZE_TC);

GroundFlashContainer& gfc = projectileHandler->groundFlashes;

bool depthTest = true;
bool depthMask = false;
Expand Down

0 comments on commit ba11af3

Please sign in to comment.