Browse Source

WTF constructor...

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

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

@ -111,20 +111,10 @@ 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();
fIdxBuffStorage.clear();
fColorBuffStorage.clear();
fVertexBufferRefs.clear();
fIndexBufferRefs.clear();
fCells.clear();
fNumVerts = fNumIndices = 0;
fFormat = format;
fStride = ICalcVertexSize(fLiteStride); fStride = ICalcVertexSize(fLiteStride);
fVertsVolatile = vertsVolatile;
fIdxVolatile = idxVolatile;
fLOD = LOD;
} }
//// Destructor /////////////////////////////////////////////////////////////// //// Destructor ///////////////////////////////////////////////////////////////

Loading…
Cancel
Save