From 616d099498ec573ec32ec1eb91ddc076c7622d31 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Wed, 11 Feb 2026 22:00:11 +0100 Subject: fix color channels --- src/wayclock.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wayclock.cc') diff --git a/src/wayclock.cc b/src/wayclock.cc index d5f1daa..b0212cb 100644 --- a/src/wayclock.cc +++ b/src/wayclock.cc @@ -110,7 +110,7 @@ int main() { glClearColor(0.1f, 0.2f, 0.2f, 1.0f); struct atlas_s atlas; - if (!wayc_atlas_init(&atlas, IMAGE_FORMAT_RGBA, WAYC_ATLAS_WIDTH, + if (!wayc_atlas_init(&atlas, IMAGE_FORMAT_RED, WAYC_ATLAS_WIDTH, WAYC_ATLAS_HEIGHT)) wayc_panic("Failed to initialize atlas"); -- cgit v1.2.3