1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:17:34 +00:00

Ports: Update c-ray's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-17 21:31:44 +04:30 committed by Ali Mohammad Pur
parent 8b9302890e
commit 4874465018
17 changed files with 654 additions and 105 deletions

View file

@ -0,0 +1,27 @@
From bcf1e45d9975ff326d874eb60abaa148b321eb78 Mon Sep 17 00:00:00 2001
From: Valtteri Koskivuori <vkoskiv@gmail.com>
Date: Sat, 17 Apr 2021 08:30:03 +0000
Subject: [PATCH 7/8] Replace the micro symbol with a 'u'
Co-Authored-By: Linus Groh <mail@linusgroh.de>
Co-Authored-By: Valtteri Koskivuori <vkoskiv@gmail.com>
---
src/renderer/renderer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/renderer/renderer.c b/src/renderer/renderer.c
index fe0e44e..6e5e20f 100644
--- a/src/renderer/renderer.c
+++ b/src/renderer/renderer.c
@@ -146,7 +146,7 @@ struct texture *renderFrame(struct renderer *r) {
float sps = (1000000.0f / usPerRay) * (r->prefs.threadCount + remoteThreads);
char rem[64];
smartTime((msecTillFinished) / (r->prefs.threadCount + remoteThreads), rem);
- logr(info, "[%s%.0f%%%s] μs/path: %.02f, etf: %s, %.02lfMs/s %s \r",
+ logr(info, "[%s%.0f%%%s] us/path: %.02f, etf: %s, %.02lfMs/s %s \r",
KBLU,
interactive ? ((float)r->state.finishedPasses / (float)r->prefs.sampleCount) * 100.0f :
((float)r->state.finishedTileCount / (float)r->state.tileCount) * 100.0f,
--
2.36.1