mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Add string messages to returned result codes to display to user
* Most of the main entry points that can fail with relevant reasons now has a way of specifying a message to return with it. This message can be displayed to the user to give more information or context about an error.
This commit is contained in:
@@ -187,14 +187,14 @@ void RemoteHost::CheckStatus()
|
||||
{
|
||||
}
|
||||
|
||||
ReplayStatus RemoteHost::Connect(IRemoteServer **server)
|
||||
ResultDetails RemoteHost::Connect(IRemoteServer **server)
|
||||
{
|
||||
return ReplayStatus::Succeeded;
|
||||
return {ResultCode::Succeeded};
|
||||
}
|
||||
|
||||
ReplayStatus RemoteHost::Launch()
|
||||
ResultDetails RemoteHost::Launch()
|
||||
{
|
||||
return ReplayStatus::Succeeded;
|
||||
return {ResultCode::Succeeded};
|
||||
}
|
||||
|
||||
bool RemoteHost::IsServerRunning() const
|
||||
|
||||
Reference in New Issue
Block a user