mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Don't require /tmp/rdoc_tmp to exist
This commit is contained in:
@@ -53,5 +53,5 @@ std::string GetEnvVar(const char *var)
|
||||
|
||||
void tmpnam_via_mkstemp(char (&buf)[MAX_PATH])
|
||||
{
|
||||
snprintf(buf, MAX_PATH - 1, "/tmp/rdoc_tmp/%x", rand());
|
||||
snprintf(buf, MAX_PATH - 1, "/tmp/rdoc_tmp_%x", rand());
|
||||
}
|
||||
Reference in New Issue
Block a user