summaryrefslogtreecommitdiff
path: root/src/wayclock.cc
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-12 12:14:51 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-12 12:14:51 +0100
commit6e6a000b28880d0163ee5769dd571e3287f35b14 (patch)
treef3cd9340b868167832c4a03dbb12b36cd6dcb84a /src/wayclock.cc
parent2c799d944d1f2e4daa2a67d8fb435ddfbfe3946c (diff)
weird
Diffstat (limited to 'src/wayclock.cc')
-rw-r--r--src/wayclock.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wayclock.cc b/src/wayclock.cc
index 55a9275..c2ef95c 100644
--- a/src/wayclock.cc
+++ b/src/wayclock.cc
@@ -29,10 +29,10 @@ void wayc_frame(struct app_s* app, struct window_s* window,
wayc_notnull(loop);
wayc_notnull(app);
- glClear(GL_COLOR_BUFFER_BIT);
- wayc_atlas_use(app->atlas, 0);
+ struct renderer_s* renderer = app->renderer;
- wayc_renderer_swap(app->renderer);
+ wayc_renderer_begin(renderer);
+ wayc_renderer_end(renderer);
}
void wayc_handle(u8* user, struct eventloop_s* loop, struct event_s* event) {