MCPcopy Create free account
hub / github.com/baldurk/renderdoc / SetDevice

Method SetDevice

renderdoc/replay/replay_controller.cpp:2194–2206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2192}
2193
2194RDResult ReplayController::SetDevice(IReplayDriver *device)
2195{
2196 CHECK_REPLAY_THREAD();
2197
2198 if(device)
2199 {
2200 RDCLOG("Got replay driver.");
2201 return PostCreateInit(device, NULL);
2202 }
2203
2204 RDCERR("Given invalid replay driver.");
2205 return ResultCode::InternalError;
2206}
2207
2208RDResult ReplayController::PostCreateInit(IReplayDriver *device, RDCFile *rdc)
2209{

Callers 1

OpenCaptureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected