aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-20 21:05:05 +0100
committeremersion <contact@emersion.fr>2017-11-20 21:05:05 +0100
commita268f57ed5329e5b410267eb715e9ebeffa80e3f (patch)
treed4db614e7d66fbcb38957f0859607634351da9c9
parent5a8bbc62032ff1623cbee487bb15c3bb136094fc (diff)
Forgot a call to glClear
-rw-r--r--types/wlr_output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_output.c b/types/wlr_output.c
index 8accf7a5..41a3f794 100644
--- a/types/wlr_output.c
+++ b/types/wlr_output.c
@@ -259,6 +259,7 @@ static void output_fullscreen_surface_render(struct wlr_output *output,
glViewport(0, 0, output->width, output->height);
glClearColor(0, 0, 0, 0);
+ glClear(GL_COLOR_BUFFER_BIT);
if (!wlr_surface_has_buffer(surface)) {
return;