summaryrefslogtreecommitdiff
path: root/src/gl.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-10-31 16:47:03 +0000
committerPhil Jones <philj56@gmail.com>2021-10-31 16:54:20 +0000
commit74adfe0cbca300e73774c6e0aa9b3c53a5e5b57b (patch)
tree88d0efbdd9755849eb22ee3478595df5c8e69a34 /src/gl.h
parentc691b8e48c572e2d5f1c7c16c8f42babd7d706d5 (diff)
Add HiDPI support and lots of cleanup.
Diffstat (limited to 'src/gl.h')
-rw-r--r--src/gl.h8
1 files changed, 7 insertions, 1 deletions
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 */