Merge pull request #17855 from hrydgard/more-achievement-ui-fixes

Achievement list: Support the more detailed categorization.
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2023-08-07 01:26:09 +02:00
commit c6c79a98c7
3 files changed
+31 -44

No files matched your search

+1 -1
View File
@@ -115,7 +115,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;