mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-31 20:01:12 +00:00
Return an empty MeshFormat for GetPostVSData on invalid drawcall
This commit is contained in:
@@ -390,7 +390,10 @@ bool ReplayRenderer::GetPostVSData(uint32_t instID, MeshDataStage stage, MeshFor
|
||||
RDCEraseEl(ret);
|
||||
|
||||
if(draw == NULL || (draw->flags & eDraw_Drawcall) == 0)
|
||||
{
|
||||
*data = MeshFormat();
|
||||
return false;
|
||||
}
|
||||
|
||||
instID = RDCMIN(instID, draw->numInstances - 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user