BGE: getting rid of a few maybe-uninitialized warnings.

This commit is contained in:
Mitchell Stokes
2013-03-23 03:04:02 +00:00
parent a333ef0100
commit 1356e3b490
3 changed files with 3 additions and 4 deletions

View File

@@ -119,7 +119,7 @@ void RAS_StorageVA::IndexPrimitives(RAS_MeshSlot& ms)
void RAS_StorageVA::IndexPrimitivesMulti(class RAS_MeshSlot& ms)
{
static const GLsizei stride = sizeof(RAS_TexVert);
bool wireframe = m_drawingmode <= RAS_IRasterizer::KX_WIREFRAME, use_color_array;
bool wireframe = m_drawingmode <= RAS_IRasterizer::KX_WIREFRAME, use_color_array = true;
RAS_MeshSlot::iterator it;
GLenum drawmode;