diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 22:00:11 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-11 22:00:11 +0100 |
| commit | 616d099498ec573ec32ec1eb91ddc076c7622d31 (patch) | |
| tree | 35a5f56f7fdc3e226e68189d9ea490bb91786ec4 /src/wayclock.cc | |
| parent | 20c10be82f9a38a1def467408c1173d38ff993a8 (diff) | |
fix color channels
Diffstat (limited to 'src/wayclock.cc')
| -rw-r--r-- | src/wayclock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |
