Change type of FrameStatistics::recorded to bool32 to be more accurate

This commit is contained in:
baldurk
2017-03-31 15:15:20 +01:00
parent 018dcb073c
commit 96f11095da
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -587,7 +587,7 @@ void AppendOutputStatistics(QString &statisticsLog, const FetchFrameInfo &frameI
void AppendDetailedInformation(CaptureContext &ctx, QString &statisticsLog,
const FetchFrameInfo &frameInfo)
{
if(frameInfo.stats.recorded == 0)
if(!frameInfo.stats.recorded)
return;
AppendDrawStatistics(statisticsLog, frameInfo);
@@ -626,7 +626,7 @@ void CountContributingEvents(const FetchDrawcall &draw, uint32_t &drawCount,
QString AppendAPICallSummary(const FetchFrameInfo &frameInfo, uint numAPICalls)
{
if(frameInfo.stats.recorded == 0)
if(!frameInfo.stats.recorded)
return "";
uint numConstantSets = 0;