Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pirvi-public
glfw
Commits
9ac9c614
Commit
9ac9c614
authored
Nov 16, 2015
by
Emmanuel Gil Peyrot
Committed by
Camilla Berglund
Nov 17, 2015
Browse files
Wayland: Make sure the cursor buffer is valid
Fixes #645.
parent
580c7da5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wl_window.c
View file @
9ac9c614
...
...
@@ -522,7 +522,8 @@ void _glfwPlatformDestroyCursor(_GLFWcursor* cursor)
if
(
cursor
->
wl
.
image
)
return
;
wl_buffer_destroy
(
cursor
->
wl
.
buffer
);
if
(
cursor
->
wl
.
buffer
)
wl_buffer_destroy
(
cursor
->
wl
.
buffer
);
}
void
_glfwPlatformSetCursor
(
_GLFWwindow
*
window
,
_GLFWcursor
*
cursor
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment