summaryrefslogtreecommitdiff
path: root/src/rendering.cc
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-11 21:36:49 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-11 21:36:49 +0100
commit29805da671f7dd13f9e1b25800ac6a846391d355 (patch)
tree84ad3175240528a5e739fed896950f1dc4b2a245 /src/rendering.cc
parent8c4b2e65c08ce0814e4d8059fc4df7c731b07ca5 (diff)
fixing use method
Diffstat (limited to 'src/rendering.cc')
-rw-r--r--src/rendering.cc6
1 files changed, 3 insertions, 3 deletions
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) {