Skip to content

Commit

Permalink
aquabsd.black.wm: PINK SCREEN!!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
obiwac committed Apr 13, 2024
1 parent 1dd334a commit 04333d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/aquabsd.black/wm/renderer.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,19 @@ 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;
renderpass->wlr_buffer = wlr_buffer;

wlr_render_pass_init(&renderpass->base, &renderpass_impl);
wlr_buffer_lock(wlr_buffer);
wlr_buffer_unlock(wlr_buffer);

return &renderpass->base;
}
Expand Down

0 comments on commit 04333d4

Please sign in to comment.