summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics.h b/graphics.h
index c9a7f67..e08e233 100644
--- a/graphics.h
+++ b/graphics.h
@@ -293,7 +293,7 @@ struct Framebufctl
void (*upscalememdraw)(Framebufctl*, Memimage*, Point, Point);
void (*drawnormals)(Framebufctl*, Image*);
void (*swap)(Framebufctl*);
- void (*reset)(Framebufctl*);
+ void (*reset)(Framebufctl*, ulong);
Framebuf *(*getfb)(Framebufctl*);
Framebuf *(*getbb)(Framebufctl*);
};
@@ -325,6 +325,7 @@ struct Camera
} clip;
Matrix3 proj; /* VCS to clip space xform */
Projection projtype;
+ int clearcolor;
int cullmode;
int enableblend;
int enabledepth;
@@ -418,6 +419,7 @@ Memimage *dupmemimage(Memimage*);
/* color */
Color srgb2linear(Color);
Color linear2srgb(Color);
+ulong rgba2xrgb(ulong);
/* shadeop */
double sign(double);