From bdfa1fcbae4ce41ecfc92ab0a04a0262875b1730 Mon Sep 17 00:00:00 2001 From: nycex Date: Fri, 27 Mar 2020 01:52:56 +0100 Subject: fix nearest_neighbour upscaling method --- src/canvas.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/canvas.h') diff --git a/src/canvas.h b/src/canvas.h index 03425d9..fc043e5 100644 --- a/src/canvas.h +++ b/src/canvas.h @@ -1,3 +1,5 @@ +#include + #ifndef IMV_CANVAS_H #define IMV_CANVAS_H @@ -46,6 +48,6 @@ void imv_canvas_draw(struct imv_canvas *canvas); /* Blit the given image to the current OpenGL framebuffer */ void imv_canvas_draw_image(struct imv_canvas *canvas, struct imv_image *image, int x, int y, double scale, - enum upscaling_method upscaling_method); + enum upscaling_method upscaling_method, bool cache_invalidated); #endif -- cgit v1.2.3