diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-24 04:52:30 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-24 04:52:30 +0200 |
commit | 115630b520668304af1ccd3eb0b13c06e17ecccc (patch) | |
tree | e3949bd4fe36ae3b43c11d4e9ecd0bf523a6e910 /include/mgl/graphics/sprite.h | |
parent | 898b8c95f1f904307c02e978b57301cf1cb0560f (diff) |
Add function to load image from memory, initialize window from an existing window, allow creating text without font/string
Diffstat (limited to 'include/mgl/graphics/sprite.h')
-rw-r--r-- | include/mgl/graphics/sprite.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mgl/graphics/sprite.h b/include/mgl/graphics/sprite.h index 8c84153..03f81ab 100644 --- a/include/mgl/graphics/sprite.h +++ b/include/mgl/graphics/sprite.h @@ -8,7 +8,7 @@ typedef struct mgl_context mgl_context; typedef struct mgl_texture mgl_texture; typedef struct { - mgl_texture *texture; + mgl_texture *texture; /* nullable */ mgl_color color; mgl_vec2f position; mgl_vec2f scale; |