uninitialized variables-gfx

This commit is contained in:
AzaezelX 2020-05-11 15:00:25 -05:00
parent 1efb687867
commit b9c207765e
33 changed files with 108 additions and 43 deletions

View file

@ -159,7 +159,12 @@ struct GFXPrimitive
GFXPrimitive()
{
dMemset( this, 0, sizeof( GFXPrimitive ) );
type = GFXPT_FIRST;
startVertex = 0;
minIndex = 0;
startIndex = 0;
numPrimitives = 0;
numVertices = 0;
}
};