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