summaryrefslogtreecommitdiff
path: root/src/wayclock.cc
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-11 21:44:49 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-11 21:44:49 +0100
commit952dc19e0eeec2b0ba695970ac3f5a2997e39c77 (patch)
tree10a484496fc9c8acf9b389c9d9a78c6637d803c8 /src/wayclock.cc
parent29805da671f7dd13f9e1b25800ac6a846391d355 (diff)
working on atlas
Diffstat (limited to 'src/wayclock.cc')
-rw-r--r--src/wayclock.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wayclock.cc b/src/wayclock.cc
index 43f07ab..a34a0b8 100644
--- a/src/wayclock.cc
+++ b/src/wayclock.cc
@@ -108,7 +108,8 @@ int main() {
glClearColor(0.1f, 0.2f, 0.2f, 1.0f);
struct atlas_s atlas;
- if (!wayc_atlas_init(&atlas, WAYC_ATLAS_WIDTH, WAYC_ATLAS_HEIGHT))
+ if (!wayc_atlas_init(&atlas, IMAGE_FORMAT_RGBA, WAYC_ATLAS_WIDTH,
+ WAYC_ATLAS_HEIGHT))
wayc_panic("Failed to initialize atlas");
wayc_defer(wayc_atlas_deinit(&atlas));