mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-25 08:56:37 -05:00
Added software cursor fallback
This commit is contained in:
parent
f252c5a792
commit
0cd94f0cf0
15 changed files with 115 additions and 42 deletions
|
|
@ -41,6 +41,7 @@ static void handle_output_frame(struct output_state *output, struct timespec *ts
|
|||
int32_t width, height;
|
||||
wlr_output_effective_resolution(wlr_output, &width, &height);
|
||||
|
||||
wlr_output_make_current(wlr_output);
|
||||
wlr_renderer_begin(sample->renderer, wlr_output);
|
||||
|
||||
float matrix[16], view[16];
|
||||
|
|
@ -74,6 +75,7 @@ static void handle_output_frame(struct output_state *output, struct timespec *ts
|
|||
}
|
||||
|
||||
wlr_renderer_end(sample->renderer);
|
||||
wlr_output_swap_buffers(wlr_output);
|
||||
}
|
||||
|
||||
static void handle_tool_axis(struct tablet_tool_state *tstate,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue