glave: Don't log error if replay is succesful but trace was not_ready
authorJon Ashburn <jon@lunarg.com>
Mon, 23 Feb 2015 18:07:30 +0000 (11:07 -0700)
committerJon Ashburn <jon@lunarg.com>
Mon, 23 Feb 2015 18:07:30 +0000 (11:07 -0700)
glave-generate.py

index 73ead36..258c353 100755 (executable)
@@ -3406,6 +3406,7 @@ class Subcommand(object):
                 elif proto.name in do_while_dict:
                     rbody[-1] = '    %s' % rbody[-1]
                     rbody.append('            } while (%s);' % do_while_dict[proto.name])
+                    rbody.append('            if (pPacket->result != XGL_NOT_READY || replayResult != XGL_SUCCESS)')
                 elif proto.name == 'EnumerateLayers':
                     rbody.append('            for (unsigned int i = 0; i < pPacket->maxLayerCount; i++)')
                     rbody.append('                GLV_DELETE(bufptr[i]);')