mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-25 07:09:27 +00:00
fix for draw cone and draw cylinder
these werent rendering correctly and we suspect draw cone was trying to draw more than it was allocating. On a volatle buffer that causes issues.
This commit is contained in:
parent
1b7768925b
commit
b9193072c1
2 changed files with 112 additions and 93 deletions
|
|
@ -704,9 +704,6 @@ inline void GFXGLDevice::postDrawPrimitive(U32 primitiveCount)
|
|||
{
|
||||
mDeviceStatistics.mDrawCalls++;
|
||||
mDeviceStatistics.mPolyCount += primitiveCount;
|
||||
|
||||
mVolatileVBs.clear();
|
||||
mVolatilePBs.clear();
|
||||
}
|
||||
|
||||
void GFXGLDevice::drawPrimitive( GFXPrimitiveType primType, U32 vertexStart, U32 primitiveCount )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue