From 64b0664a648ec4a6c424e932b605f09dc4ee6151 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Wed, 11 Feb 2026 22:25:43 +0100 Subject: check bounds --- src/rendering.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rendering.h') diff --git a/src/rendering.h b/src/rendering.h index 7e5e46e..98f70ce 100644 --- a/src/rendering.h +++ b/src/rendering.h @@ -64,6 +64,6 @@ struct atlas_s { bool wayc_atlas_init(atlas_s* atlas, image_format_e format, u32 width, u32 height); void wayc_atlas_use(atlas_s* atlas, u32 slot); -void wayc_atlas_set(atlas_s* atlas, image_data_type_e data_type, ivec2 offset, +bool wayc_atlas_set(atlas_s* atlas, image_data_type_e data_type, ivec2 offset, u32 width, u32 height, i32 alignment, const u8* data); void wayc_atlas_deinit(atlas_s* atlas); -- cgit v1.2.3