clear tessellated buffer before drawing a scene view

This commit is contained in:
myT 2023-08-17 00:09:08 +02:00
parent d1912ba929
commit 61243c3ce1

View file

@ -941,6 +941,9 @@ void World::DrawSceneView(const drawSceneViewCommand_t& cmd)
batchShadingRate = ShadingRate::SR_1x1;
batchOldShadingRate = ShadingRate::SR_1x1;
tess.numVertexes = 0;
tess.numIndexes = 0;
int ds;
const drawSurf_t* drawSurf;
for(ds = 0, drawSurf = drawSurfs; ds < surfCount; ++ds, ++drawSurf)