From 29805da671f7dd13f9e1b25800ac6a846391d355 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Wed, 11 Feb 2026 21:36:49 +0100 Subject: fixing use method --- src/rendering.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rendering.cc') diff --git a/src/rendering.cc b/src/rendering.cc index e12026a..356c6b3 100644 --- a/src/rendering.cc +++ b/src/rendering.cc @@ -101,9 +101,9 @@ bool wayc_atlas_init(atlas_s* atlas, u32 width, u32 height) { return true; } -void wayc_atlas_use(atlas_s atlas, u32 slot) { - wayc_image_use(atlas.texture, slot); - wayc_sampler_use(atlas.sampler, slot); +void wayc_atlas_use(atlas_s* atlas, u32 slot) { + wayc_image_use(atlas->texture, slot); + wayc_sampler_use(atlas->sampler, slot); } void wayc_atlas_deinit(atlas_s* atlas) { -- cgit v1.2.3