mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
output: add damage tracking via buffer age
This commit is contained in:
parent
78c13ead16
commit
0365b587f0
21 changed files with 163 additions and 81 deletions
|
|
@ -35,7 +35,7 @@ void handle_output_frame(struct output_state *output, struct timespec *ts) {
|
|||
sample->dec = inc;
|
||||
}
|
||||
|
||||
wlr_output_make_current(output->output);
|
||||
wlr_output_make_current(output->output, NULL);
|
||||
|
||||
glClearColor(sample->color[0], sample->color[1], sample->color[2], 1.0);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue