diff --git a/qrenderdoc/qrenderdoc_local.vcxproj b/qrenderdoc/qrenderdoc_local.vcxproj index 4ad3e1b43..aad42e6b6 100644 --- a/qrenderdoc/qrenderdoc_local.vcxproj +++ b/qrenderdoc/qrenderdoc_local.vcxproj @@ -107,12 +107,12 @@ /wd4718 /wd4127 /wd4714 /wd4100 /wd4512 -Zc:strictStrings -Zc:throwingNew -w34189 -w44996 -w44456 -w44457 -w44458 %(AdditionalOptions) $(Platform)\$(Configuration)\ false - None + ProgramDatabase 4577;%(DisableSpecificWarnings) Sync $(Platform)\$(Configuration)\ MaxSpeed - _WINDOWS;RELEASE;UNICODE;WIN32;WIN64;RENDERDOC_PLATFORM_WIN32;QT_NO_DEBUG;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB;NDEBUG;%(PreprocessorDefinitions) + _WINDOWS;RELEASE;UNICODE;WIN32;WIN64;RENDERDOC_PLATFORM_WIN32;QT_MESSAGELOGCONTEXT;QT_NO_DEBUG;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB;NDEBUG;%(PreprocessorDefinitions) false @@ -129,7 +129,7 @@ 3rdparty\Qt\lib64;%(AdditionalLibraryDirectories) "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions) true - false + true true false $(OutDir)\qrenderdoc.exe @@ -152,12 +152,12 @@ /wd4718 /wd4127 /wd4714 /wd4100 /wd4512 -Zc:strictStrings -Zc:throwingNew -w34189 -w44996 -w44456 -w44457 -w44458 %(AdditionalOptions) $(Platform)\$(Configuration)\ false - None + ProgramDatabase 4577;%(DisableSpecificWarnings) Sync $(Platform)\$(Configuration)\ MaxSpeed - _WINDOWS;RELEASE;UNICODE;WIN32;RENDERDOC_PLATFORM_WIN32;QT_NO_DEBUG;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB;NDEBUG;%(PreprocessorDefinitions) + _WINDOWS;RELEASE;UNICODE;WIN32;RENDERDOC_PLATFORM_WIN32;QT_MESSAGELOGCONTEXT;QT_NO_DEBUG;QT_WIDGETS_LIB;QT_GUI_LIB;QT_CORE_LIB;NDEBUG;%(PreprocessorDefinitions) false @@ -174,7 +174,7 @@ 3rdparty\Qt\lib32;%(AdditionalLibraryDirectories) "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions) true - false + true true false $(OutDir)\qrenderdoc.exe diff --git a/renderdoc/replay/entry_points.cpp b/renderdoc/replay/entry_points.cpp index 620494c8f..d555009c6 100644 --- a/renderdoc/replay/entry_points.cpp +++ b/renderdoc/replay/entry_points.cpp @@ -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()