mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-22 08:56:28 -05:00
Added software cursor fallback
This commit is contained in:
parent
f252c5a792
commit
0cd94f0cf0
15 changed files with 115 additions and 42 deletions
|
|
@ -34,8 +34,12 @@ void handle_output_frame(struct output_state *output, struct timespec *ts) {
|
|||
sample->dec = inc;
|
||||
}
|
||||
|
||||
wlr_output_make_current(output->output);
|
||||
|
||||
glClearColor(sample->color[0], sample->color[1], sample->color[2], 1.0);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
wlr_output_swap_buffers(output->output);
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue