Commit 586f783b authored by Alexandros Frantzis's avatar Alexandros Frantzis Committed by Emil Velikov

scripts: Initialize renderdoc environment

In some cases this seems to be required to avoid issues with X11
display connections.
Signed-off-by: Alexandros Frantzis's avatarAlexandros Frantzis <alexandros.frantzis@collabora.com>
parent 11cc616d
Pipeline #66637 passed with stages
in 16 minutes and 25 seconds
......@@ -81,6 +81,7 @@ def loadCapture(filename):
return (cap, controller)
def renderdoc_dump_images(filename, eventIds, outputDir):
rd.InitGlobalEnv(rd.GlobalEnvironment(), [])
cap,controller = loadCapture(filename);
tracefile = Path(filename).name
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment