From 1ff3793322585443909d11284457811c461f8de4 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Thu, 14 Sep 2017 18:57:05 +0900 Subject: pacc: add viewport --- pacc/pacc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pacc/pacc.h') diff --git a/pacc/pacc.h b/pacc/pacc.h index b3387ac..30e7ab2 100644 --- a/pacc/pacc.h +++ b/pacc/pacc.h @@ -46,6 +46,7 @@ struct pacc_vtable { void (*color)(struct pacc_ctx *ctx, uint8_t pal); void (*begin_clear)(struct pacc_ctx *ctx); void (*draw)(struct pacc_ctx *ctx, struct pacc_buf *buf, enum pacc_mode mode); + void (*viewport_scale)(struct pacc_ctx *ctx, int scale); }; struct pacc_ctx *pacc_init_gl(int w, int h, struct pacc_vtable *vt); -- cgit v1.2.3