mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
uninitialized variables-gfx
This commit is contained in:
parent
1efb687867
commit
b9c207765e
33 changed files with 108 additions and 43 deletions
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue