diff options
Diffstat (limited to 'src/wayclock.cc')
| -rw-r--r-- | src/wayclock.cc | 6 |
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) { |
