diff options
author | Phil Jones <philj56@gmail.com> | 2021-10-31 16:47:03 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2021-10-31 16:54:20 +0000 |
commit | 74adfe0cbca300e73774c6e0aa9b3c53a5e5b57b (patch) | |
tree | 88d0efbdd9755849eb22ee3478595df5c8e69a34 /src/gl.h | |
parent | c691b8e48c572e2d5f1c7c16c8f42babd7d706d5 (diff) |
Add HiDPI support and lots of cleanup.
Diffstat (limited to 'src/gl.h')
-rw-r--r-- | src/gl.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 */ |