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
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +259,7 @@ static void output_fullscreen_surface_render(struct wlr_output *output,
glViewport(0, 0, output->width, output->height); glViewport(0, 0, output->width, output->height);
glClearColor(0, 0, 0, 0); glClearColor(0, 0, 0, 0);
glClear(GL_COLOR_BUFFER_BIT);
if (!wlr_surface_has_buffer(surface)) { if (!wlr_surface_has_buffer(surface)) {
return; return;