From 74adfe0cbca300e73774c6e0aa9b3c53a5e5b57b Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 31 Oct 2021 16:47:03 +0000 Subject: Add HiDPI support and lots of cleanup. --- src/gl.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/gl.h') diff --git a/src/gl.h b/src/gl.h index 8a4ff73..9f48bb8 100644 --- a/src/gl.h +++ b/src/gl.h @@ -16,6 +16,12 @@ struct gl { void gl_initialise(struct gl *gl, struct image *texture); void gl_clear(struct gl *gl, struct color *color); -void gl_draw_texture(struct gl *gl, struct image *texture, int32_t x, int32_t y, int32_t width, int32_t height); +void gl_draw_texture( + struct gl *gl, + struct image *texture, + int32_t x, + int32_t y, + int32_t width, + int32_t height); #endif /* GL_H */ -- cgit v1.2.3