Forgot a call to glClear

This commit is contained in:
emersion 2017-11-20 21:05:05 +01:00
parent 5a8bbc6203
commit a268f57ed5
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -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;