summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-06-13 19:06:37 +0000
committerrodri <rgl@antares-labs.eu>2024-06-13 19:06:37 +0000
commitb1335875b19a4db2ae028f8d790784cddcffe8b5 (patch)
tree1ee64309da345e0f027da3aa00c00f7111660581 /graphics.h
parent213c3a4e99c3085ee89fda550897213abbc888ad (diff)
downloadlibgraphics-b1335875b19a4db2ae028f8d790784cddcffe8b5.tar.gz
libgraphics-b1335875b19a4db2ae028f8d790784cddcffe8b5.tar.bz2
libgraphics-b1335875b19a4db2ae028f8d790784cddcffe8b5.zip
replace the Memimage color buffer with a ulong* one. some fixes.
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics.h b/graphics.h
index b30dd9f..17ce25e 100644
--- a/graphics.h
+++ b/graphics.h
@@ -178,7 +178,6 @@ struct FSparams
struct SUparams
{
Framebuf *fb;
- Memimage *frag;
Renderjob *job;
Camera *camera;
Entity *entity;
@@ -226,7 +225,7 @@ struct Renderjob
struct Framebuf
{
- Memimage *cb; /* color buffer */
+ ulong *cb; /* color buffer */
double *zb; /* z/depth buffer */
Rectangle r;
};