Skip to content
Snippets Groups Projects
Commit b60480ff authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Steve Lhomme
Browse files

egl_gbm: set surface and its buffers to null pointer after destroy

Currently, the surface and its buffers are destroyed but the buffer
objects are not set to null pointer. Because of this, it is tried to
call `gbm_surface_release_buffer()` with a new surface and buffer
of an already gone surface.

This causes crash on Wayland with Nvidia.
parent d16eba83
No related branches found
No related tags found
1 merge request!6191egl_gbm: set surface and its buffers to null pointer after destroy
Pipeline #525319 passed with stage
in 13 minutes and 16 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment