summaryrefslogtreecommitdiff
path: root/src/wayclock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wayclock.cc')
-rw-r--r--src/wayclock.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wayclock.cc b/src/wayclock.cc
index 9b71cc4..6fa5222 100644
--- a/src/wayclock.cc
+++ b/src/wayclock.cc
@@ -1,7 +1,6 @@
#include "events.h"
-#include "glad.h"
#include "graphics.h"
#include "rendering.h"
#include "text.h"
@@ -108,8 +107,7 @@ int main() {
wayc_defer(wayc_renderer_deinit(&renderer));
- wayc_renderer_use(&renderer);
- glClearColor(0.1f, 0.2f, 0.2f, 1.0f);
+ wayc_renderer_use(&renderer); // << make current
struct atlas_s atlas;
if (!wayc_atlas_init(&atlas, IMAGE_FORMAT_RED, WAYC_ATLAS_WIDTH,