Browse Source

WTF constructor...

Adam Johnson 9 years ago
parent
commit
7721eebcc1
  1. 18
      Sources/Plasma/PubUtilLib/plPipeline/plGBufferGroup.cpp

18
Sources/Plasma/PubUtilLib/plPipeline/plGBufferGroup.cpp

@ -110,21 +110,11 @@ void plGBufferCell::Write( hsStream *s )
//// Constructor ////////////////////////////////////////////////////////////// //// Constructor //////////////////////////////////////////////////////////////
plGBufferGroup::plGBufferGroup( uint8_t format, bool vertsVolatile, bool idxVolatile, int LOD ) plGBufferGroup::plGBufferGroup(uint8_t format, bool vertsVolatile, bool idxVolatile, int LOD)
: fNumVerts(0), fNumIndices(0), fFormat(format), fVertsVolatile(vertsVolatile),
fIdxVolatile(idxVolatile), fLOD(LOD)
{ {
fVertBuffStorage.clear(); fStride = ICalcVertexSize(fLiteStride);
fIdxBuffStorage.clear();
fColorBuffStorage.clear();
fVertexBufferRefs.clear();
fIndexBufferRefs.clear();
fCells.clear();
fNumVerts = fNumIndices = 0;
fFormat = format;
fStride = ICalcVertexSize( fLiteStride );
fVertsVolatile = vertsVolatile;
fIdxVolatile = idxVolatile;
fLOD = LOD;
} }
//// Destructor /////////////////////////////////////////////////////////////// //// Destructor ///////////////////////////////////////////////////////////////

Loading…
Cancel
Save