diff options
author | nycex <nycex@cccp.org> | 2020-03-27 01:52:56 +0100 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2020-05-21 11:22:47 +0100 |
commit | bdfa1fcbae4ce41ecfc92ab0a04a0262875b1730 (patch) | |
tree | 8e69ad483439f4545ac2c9654453351ed7c177fa /src/canvas.h | |
parent | a8c1ffa3cf5e138c56a09f71f636d3dc5d49101f (diff) | |
download | imv-bdfa1fcbae4ce41ecfc92ab0a04a0262875b1730.tar.gz |
fix nearest_neighbour upscaling method
Diffstat (limited to 'src/canvas.h')
-rw-r--r-- | src/canvas.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <stdbool.h> + #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 |