mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-24 08:21:35 +00:00
Add use of ReplayOptions to python API examples
This commit is contained in:
@@ -74,7 +74,7 @@ def loadCapture(filename):
|
||||
raise RuntimeError("Capture cannot be replayed")
|
||||
|
||||
# Initialise the replay
|
||||
status,controller = cap.OpenCapture(None)
|
||||
status,controller = cap.OpenCapture(rd.ReplayOptions(), None)
|
||||
|
||||
if status != rd.ReplayStatus.Succeeded:
|
||||
raise RuntimeError("Couldn't initialise replay: " + str(status))
|
||||
|
||||
Reference in New Issue
Block a user