mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Fix software cursors
This commit is contained in:
parent
de6f32c84e
commit
2facf1df65
4 changed files with 19 additions and 11 deletions
|
|
@ -8,7 +8,7 @@ void wlr_renderer_init(struct wlr_renderer *renderer,
|
|||
}
|
||||
|
||||
void wlr_renderer_destroy(struct wlr_renderer *r) {
|
||||
if (r->impl->destroy) {
|
||||
if (r && r->impl->destroy) {
|
||||
r->impl->destroy(r);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue