summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-09-08 14:31:19 +0000
committerrodri <rgl@antares-labs.eu>2024-09-08 14:31:19 +0000
commitef7b6cacac451015b7c3f0ed96eeeb002daab7db (patch)
tree4584d1420210e2b9c3e9c14a08473767b399a1b1 /graphics.h
parentfb2c8083f028676d0c46e0d9a89de78b3f129552 (diff)
downloadlibgraphics-ef7b6cacac451015b7c3f0ed96eeeb002daab7db.tar.gz
libgraphics-ef7b6cacac451015b7c3f0ed96eeeb002daab7db.tar.bz2
libgraphics-ef7b6cacac451015b7c3f0ed96eeeb002daab7db.zip
allocate renderjob times dynamically for the parallel stages.
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics.h b/graphics.h
index ef2e419..3cd070f 100644
--- a/graphics.h
+++ b/graphics.h
@@ -256,7 +256,7 @@ struct Renderjob
struct {
/* renderer, entityproc, tilers, rasterizers */
- Rendertime R, E, Tn[20], Rn[20];
+ Rendertime R, E, *Tn, *Rn;
} times;
Renderjob *next;