diff --git a/util/test/tests/Iter_Test.py b/util/test/tests/Iter_Test.py index 4bf228d43..02203cdf9 100644 --- a/util/test/tests/Iter_Test.py +++ b/util/test/tests/Iter_Test.py @@ -209,11 +209,11 @@ class Iter_Test(rdtest.TestCase): mod = history[i] draw = self.find_draw('', mod.eventId) - rdtest.log.print(" hit %d at %d is %s (%s)" % (i, mod.eventId, draw.name, str(draw.flags))) - if draw is None or not (draw.flags & rd.DrawFlags.Drawcall): continue + rdtest.log.print(" hit %d at %d is %s (%s)" % (i, mod.eventId, draw.name, str(draw.flags))) + lastmod = history[i] rdtest.log.print("Got a hit on a drawcall at event %d" % lastmod.eventId)