From 04333d4844a32a49efd888bb1b83d37184d6e1ba Mon Sep 17 00:00:00 2001 From: Aymeric Wibo Date: Sat, 13 Apr 2024 03:38:14 +0200 Subject: [PATCH] aquabsd.black.wm: PINK SCREEN!!!! --- src/aquabsd.black/wm/renderer.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/aquabsd.black/wm/renderer.c b/src/aquabsd.black/wm/renderer.c index 9d12b2b..6672a30 100644 --- a/src/aquabsd.black/wm/renderer.c +++ b/src/aquabsd.black/wm/renderer.c @@ -163,6 +163,11 @@ error_buffer: {} LOG_FATAL("Framebuffer is complete"); + glClearColor(1.0, 0.0, 1.0, 1.0); + glClear(GL_COLOR_BUFFER_BIT); + glFlush(); + glBindFramebuffer(GL_FRAMEBUFFER, 0); + renderpass_t* const renderpass = calloc(1, sizeof *renderpass); renderpass->renderer = renderer; @@ -170,6 +175,7 @@ error_buffer: {} wlr_render_pass_init(&renderpass->base, &renderpass_impl); wlr_buffer_lock(wlr_buffer); + wlr_buffer_unlock(wlr_buffer); return &renderpass->base; }