From 952dc19e0eeec2b0ba695970ac3f5a2997e39c77 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Wed, 11 Feb 2026 21:44:49 +0100 Subject: working on atlas --- src/wayclock.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wayclock.cc') 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)); -- cgit v1.2.3