From 5f10c82aad318fc9091c9bd612e89fda1a77009f Mon Sep 17 00:00:00 2001 From: rodri Date: Sun, 14 Jul 2024 21:49:43 +0000 Subject: initial viewport upscaling support. --- graphics.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'graphics.h') diff --git a/graphics.h b/graphics.h index 3c170f7..511564e 100644 --- a/graphics.h +++ b/graphics.h @@ -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*); -- cgit v1.2.3