aboutsummaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-04-01 16:16:49 +0000
committerrodri <rgl@antares-labs.eu>2024-04-01 16:16:49 +0000
commit4d711e22d597a42e1478e2f3c2d3c23312520309 (patch)
tree69b2e306d792a75f5de642aa6de612ade08faebb /graphics.h
parentd22a9cf1583075186a19282c7566b520ec1dcd81 (diff)
downloadlibgraphics-4d711e22d597a42e1478e2f3c2d3c23312520309.tar.gz
libgraphics-4d711e22d597a42e1478e2f3c2d3c23312520309.tar.bz2
libgraphics-4d711e22d597a42e1478e2f3c2d3c23312520309.zip
viewport: add a way to access front and back buffers.
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics.h b/graphics.h
index f109be3..b523c2b 100644
--- a/graphics.h
+++ b/graphics.h
@@ -216,6 +216,7 @@ struct Viewport
void (*draw)(Viewport*, Image*);
void (*memdraw)(Viewport*, Memimage*);
Framebuf *(*getfb)(Viewport*);
+ Framebuf *(*getbb)(Viewport*);
};
struct Camera