mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Fix software cursors
This commit is contained in:
parent
de6f32c84e
commit
2facf1df65
4 changed files with 19 additions and 11 deletions
|
|
@ -9,7 +9,7 @@ void wlr_texture_init(struct wlr_texture *texture,
|
|||
}
|
||||
|
||||
void wlr_texture_destroy(struct wlr_texture *texture) {
|
||||
if (texture->impl->destroy) {
|
||||
if (texture && texture->impl->destroy) {
|
||||
texture->impl->destroy(texture);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue