mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
If no indices are present, the max index is numVerts - 1 (0 indexed)
This commit is contained in:
@@ -179,7 +179,7 @@ void HighlightCache::CacheHighlightingData(uint32_t eventID, const MeshDisplay &
|
||||
stage = cfg.type;
|
||||
|
||||
uint32_t bytesize = cfg.position.idxByteWidth;
|
||||
uint64_t maxIndex = cfg.position.numVerts;
|
||||
uint64_t maxIndex = cfg.position.numVerts - 1;
|
||||
|
||||
if(cfg.position.idxByteWidth == 0 || stage == MeshDataStage::GSOut)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user