Fixes for qrenderdoc on linux

This commit is contained in:
baldurk
2015-03-18 23:50:19 +00:00
parent 35cc323ee4
commit b2c582aea1
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -40,6 +40,7 @@ win32 {
# Link against the core library
LIBS += -L$$_PRO_FILE_PWD_/../renderdoc -lrenderdoc
QMAKE_LFLAGS += '-Wl,-rpath,\'\$$ORIGIN\''
}
+2 -1
View File
@@ -42,7 +42,8 @@ void library_loaded()
FileIO::GetExecutableFilename(curfile);
if(curfile.find("/renderdoccmd") != string::npos ||
curfile.find("/renderdocui") != string::npos)
curfile.find("/renderdocui") != string::npos ||
curfile.find("/qrenderdoc") != string::npos)
{
RDCDEBUG("Not creating hooks - in replay app");