]> git.cworth.org Git - apitrace-tests/blobdiff - app_driver.py
apps/d3d8: Be precise with window size and format.
[apitrace-tests] / app_driver.py
index 51f89b6a836e04aa166b4d180aafcded22c6b9a3..0680335180a3a421714d9a29198694bf4eeaf500 100755 (executable)
@@ -152,8 +152,9 @@ class AppDriver(Driver):
         
         cmd = [
             options.apitrace, 'trace', 
-            '--api', self.api_trace_map[self.api],
-            '--output', self.trace_file,
+            '-v',
+            '-a', self.api_trace_map[self.api],
+            '-o', self.trace_file,
             '--'
         ] + cmd
         if self.max_frames is not None:
@@ -323,7 +324,6 @@ class AppDriver(Driver):
         data = imageObj['__data__']
         stream = StringIO(base64.b64decode(data))
         im = Image.open(stream)
-        im.save('test.png')
         return im
 
     def getFramebufferAttachment(self, state, attachments):