Fix problems with GL counter fetch around multi-draw draws

This commit is contained in:
baldurk
2021-10-04 15:40:56 +01:00
parent cd1b68aadf
commit 4b261bd8f6
+3 -2
View File
@@ -259,9 +259,10 @@ void GLReplay::FillTimers(GLCounterContext &ctx, const ActionDescription &action
for(size_t i = 0; i < actionnode.children.size(); i++)
{
const ActionDescription &a = actionnode.children[i];
FillTimers(ctx, actionnode.children[i], counters);
FillTimers(ctx, a, counters);
if(a.events.empty())
// for marker regions and multi-actions, don't fetch counters for them, only their children
if(!a.children.empty())
continue;
GPUQueries *queries = NULL;