summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics.h b/graphics.h
index 17ce25e..7b46ed7 100644
--- a/graphics.h
+++ b/graphics.h
@@ -227,6 +227,7 @@ struct Framebuf
{
ulong *cb; /* color buffer */
double *zb; /* z/depth buffer */
+ ulong *nb; /* normals buffer (DBG only) */
Rectangle r;
};
@@ -238,6 +239,7 @@ struct Framebufctl
void (*draw)(Framebufctl*, Image*);
void (*memdraw)(Framebufctl*, Memimage*);
+ void (*drawnormals)(Framebufctl*, Image*);
void (*swap)(Framebufctl*);
void (*reset)(Framebufctl*);
Framebuf *(*getfb)(Framebufctl*);