diff options
author | rodri <rgl@antares-labs.eu> | 2024-07-14 21:49:43 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-07-14 21:49:43 +0000 |
commit | 5f10c82aad318fc9091c9bd612e89fda1a77009f (patch) | |
tree | 821cd9dfd0fcea21fdb720805666c77a63d2819c /graphics.h | |
parent | 78bf838d0c45fbe6e282450e127446de5888fa11 (diff) | |
download | libgraphics-5f10c82aad318fc9091c9bd612e89fda1a77009f.tar.gz libgraphics-5f10c82aad318fc9091c9bd612e89fda1a77009f.tar.bz2 libgraphics-5f10c82aad318fc9091c9bd612e89fda1a77009f.zip |
initial viewport upscaling support.
Diffstat (limited to 'graphics.h')
-rw-r--r-- | graphics.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -255,7 +255,9 @@ struct Framebufctl uint idx; /* front buffer index */ void (*draw)(Framebufctl*, Image*); + void (*upscaledraw)(Framebufctl*, Image*, Point); void (*memdraw)(Framebufctl*, Memimage*); + void (*upscalememdraw)(Framebufctl*, Memimage*, Point); void (*drawnormals)(Framebufctl*, Image*); void (*swap)(Framebufctl*); void (*reset)(Framebufctl*); |