summaryrefslogtreecommitdiff
path: root/src/rendering.cc
diff options
context:
space:
mode:
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) {