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:
marauder2k7 2025-07-31 17:55:38 +01:00
parent 1b7768925b
commit b9193072c1
2 changed files with 112 additions and 93 deletions

View file

@ -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 )