diff -r 9f030f402699 -r 560772519ff9 src/texture.c --- a/src/texture.c Fri Jun 13 18:09:49 2025 +0200 +++ b/src/texture.c Sat Jun 14 11:40:40 2025 +0200 @@ -34,7 +34,7 @@ #include #include -void asc_texture_bind(AscTexture const *tex, int uniform_location, int unit) { +void asc_texture_bind(const AscTexture *tex, int uniform_location, int unit) { glActiveTexture(GL_TEXTURE0 + unit); GLenum error = glGetError(); if (error == GL_INVALID_ENUM) { @@ -47,7 +47,7 @@ asc_error_catch_all_gl(); } -void asc_texture_from_surface(AscTexture *tex, SDL_Surface const *surface) { +void asc_texture_from_surface(AscTexture *tex, const SDL_Surface *surface) { if (tex->tex_id == 0) { asc_error("Tried to use uninitialized texture (%"PRIxPTR ").", (uintptr_t) tex); return;