Achievement list: Support the more detailed categorization, RC_CLIENT_ACHIEVEMENT_LIST_GROUPING_PROGRESS

This commit is contained in:
Henrik Rydgård committed 2023-08-06 15:43:33 +02:00
1 parent 63cfe28f61
commit cd0f2eb401
3 files changed
+31 -44

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ static void DrawFrameTiming(UIContext *ctx, const Bounds &bounds) {
for (int i = 0; i < 8; i++) {
FrameTimeData data = ctx->GetDrawContext()->GetFrameTimeData(6 + i);
if (data.frameBegin == 0.0) {
snprintf(statBuf, sizeof(statBuf), "(Frame timing collection not supported on this backend)");
snprintf(statBuf, sizeof(statBuf), "(No frame time data)");
} else {
double fenceLatency_s = data.afterFenceWait - data.frameBegin;
double submitLatency_s = data.firstSubmit - data.frameBegin;