mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-23 04:12:42 +00:00
clear tessellated buffer before drawing a scene view
This commit is contained in:
parent
d1912ba929
commit
61243c3ce1
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue