Change some stat arrays from double to float (to save mem bandwidth)

This commit is contained in:
Henrik Rydgård committed 2025-06-18 11:00:27 +02:00
1 parent 702c84e019
commit cc3fbb22e4
4 files changed
+12 -12

No files matched your search

+2 -2
View File
@@ -97,9 +97,9 @@ static void DrawControlDebug(UIContext *ctx, const ControlMapper &mapper, const
static void DrawFrameTimes(UIContext *ctx, const Bounds &bounds) {
FontID ubuntu24("UBUNTU24");
double *sleepHistory;
float *sleepHistory;
int valid, pos;
double *history = __DisplayGetFrameTimes(&valid, &pos, &sleepHistory);
float *history = __DisplayGetFrameTimes(&valid, &pos, &sleepHistory);
int scale = 7000;
int width = 600;