mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
Ports: Update the C-ray renderer port
This commit is contained in:
parent
712e7102b0
commit
22259bf85d
9 changed files with 85 additions and 87 deletions
13
Ports/c-ray/patches/replace-micro-symbol.patch
Normal file
13
Ports/c-ray/patches/replace-micro-symbol.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/renderer/renderer.c b/src/renderer/renderer.c
|
||||
index 90cfee9..4e36ed2 100644
|
||||
--- a/src/renderer/renderer.c
|
||||
+++ b/src/renderer/renderer.c
|
||||
@@ -104,7 +104,7 @@ struct texture *renderFrame(struct renderer *r) {
|
||||
char rem[64];
|
||||
smartTime((msecTillFinished) / r->prefs.threadCount, rem);
|
||||
float completion = ((float)completedSamples / totalTileSamples) * 100;
|
||||
- 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,
|
||||
completion,
|
||||
KNRM,
|
Loading…
Add table
Add a link
Reference in a new issue