mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed.
This commit is contained in:
parent
513789c2c7
commit
26fd24fbab
43 changed files with 35 additions and 356 deletions
|
|
@ -444,19 +444,11 @@ void GroundPlane::createGeometry( const Frustum& frustum )
|
|||
// Only reallocate if the buffers are too small.
|
||||
if ( mVertexBuffer.isNull() || numVertices > mVertexBuffer->mNumVerts )
|
||||
{
|
||||
#if defined(TORQUE_OS_XENON)
|
||||
mVertexBuffer.set( GFX, numVertices, GFXBufferTypeVolatile );
|
||||
#else
|
||||
mVertexBuffer.set( GFX, numVertices, GFXBufferTypeDynamic );
|
||||
#endif
|
||||
}
|
||||
if ( mPrimitiveBuffer.isNull() || numTriangles > mPrimitiveBuffer->mPrimitiveCount )
|
||||
{
|
||||
#if defined(TORQUE_OS_XENON)
|
||||
mPrimitiveBuffer.set( GFX, numTriangles*3, numTriangles, GFXBufferTypeVolatile );
|
||||
#else
|
||||
mPrimitiveBuffer.set( GFX, numTriangles*3, numTriangles, GFXBufferTypeDynamic );
|
||||
#endif
|
||||
}
|
||||
|
||||
// Generate the grid.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue