diff options
Diffstat (limited to 'src/wayclock.cc')
| -rw-r--r-- | src/wayclock.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wayclock.cc b/src/wayclock.cc index 27bc7d1..1b79d2c 100644 --- a/src/wayclock.cc +++ b/src/wayclock.cc @@ -1,6 +1,7 @@ #include "events.h" +#include "glad.h" #include "graphics.h" #include "utils.h" #include "window.h" @@ -15,6 +16,9 @@ void wayc_frame(struct renderer_s* renderer, struct window_s* window, wayc_notnull(loop); wayc_notnull(renderer); + glClearColor(0.1f, 0.2f, 0.3f, 1.0f); + glClear(GL_COLOR_BUFFER_BIT); + wayc_renderer_swap(renderer); } |
