mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Fix Visual Studio 2015 compile warnings in NvPerfUtility
This commit is contained in:
committed by
Baldur Karlsson
parent
868e690e9c
commit
4133ee7a43
+1
-1
@@ -301,7 +301,7 @@ namespace nv { namespace perf {
|
||||
{
|
||||
return false;
|
||||
}
|
||||
isCDG = isCooperativeDomainGroupParams.isCdg;
|
||||
isCDG = !!isCooperativeDomainGroupParams.isCdg;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -558,7 +558,7 @@ namespace nv { namespace perf { namespace sampler {
|
||||
if (nvpaStatus)
|
||||
{
|
||||
NV_PERF_LOG_ERR(20, "NVPW_GPU_PeriodicSampler_AcknowledgeRecordBuffer failed, nvpaStatus = %s, deviceIndex = %llu\n", FormatStatus(nvpaStatus).c_str(), m_deviceIndex);
|
||||
return nvpaStatus;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user