diff -r 8e6a661c87db -r f70569c49c24 src/texture.c --- a/src/texture.c Tue Jun 24 20:21:38 2025 +0200 +++ b/src/texture.c Wed Jun 25 21:58:44 2025 +0200 @@ -162,6 +162,10 @@ glDeleteTextures(count, textures); } +bool asc_texture_is_uv_normalized(const AscTexture *tex) { + return tex->target != GL_TEXTURE_RECTANGLE; +} + asc_vec2f asc_texture_calculate_uv_scale(const AscTexture *tex, asc_vec2u surface_dimension, asc_vec2f factors) { if (surface_dimension.width == 0 || surface_dimension.height == 0) { asc_wprintf("Tried to calculate UV scale for texture %u with zero dimensions.", tex->tex_id);