Enable QT_MESSAGELOGCONTEXT and debugging info in release builds

This commit is contained in:
baldurk
2016-10-12 13:02:03 +02:00
parent ec1ce1d738
commit 402ef54f0d
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_LogMessage(LogMessageType t
RDCCOMPILE_ASSERT(
(int)eLogType_First == (int)RDCLog_First && (int)eLogType_NumTypes == (int)eLogType_NumTypes,
"Log type enum is out of sync");
rdclog_int((LogType)type, project, file, line, "%s", text);
rdclog_int((LogType)type, project ? project : "UNK?", file ? file : "unknown", line, "%s", text);
}
extern "C" RENDERDOC_API const char *RENDERDOC_CC RENDERDOC_GetLogFile()