diff options
Diffstat (limited to 'src/graphics/texture.c')
-rw-r--r-- | src/graphics/texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/texture.c b/src/graphics/texture.c index 1427e6b..c70c0f9 100644 --- a/src/graphics/texture.c +++ b/src/graphics/texture.c @@ -63,7 +63,7 @@ int mgl_texture_load_from_file(mgl_texture *self, const char *filepath, mgl_text return result; } -int mgl_texture_load_from_image(mgl_texture *self, mgl_image *image, mgl_texture_load_options *load_options) { +int mgl_texture_load_from_image(mgl_texture *self, const mgl_image *image, mgl_texture_load_options *load_options) { return mgl_texture_load_from_memory(self, image->data, image->width, image->height, image->format, load_options); } |