From 74bd568724350586519e8f177f7c3e0106f1b7a5 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 26 Aug 2016 13:35:55 +0200 Subject: [PATCH] As a last fallback for locating qrenderdoc, return the binary name * This way if the binary is in the PATH somewhere but not in any of our expected locations, we can still execute it. --- renderdoc/os/posix/posix_stringio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdoc/os/posix/posix_stringio.cpp b/renderdoc/os/posix/posix_stringio.cpp index 95f83ef5a..1715dcf28 100644 --- a/renderdoc/os/posix/posix_stringio.cpp +++ b/renderdoc/os/posix/posix_stringio.cpp @@ -130,8 +130,8 @@ string GetReplayAppFilename() } } - // out of ideas - return ""; + // out of ideas, just return the filename and hope it's in PATH + return "qrenderdoc"; } void GetDefaultFiles(const char *logBaseName, string &capture_filename, string &logging_filename,