Skip to content
Snippets Groups Projects
Commit a0aa0a1a authored by Frank Binns's avatar Frank Binns Committed by Juan A. Suárez
Browse files

egl/dri2: fix segfault when display initialisation fails


dri2_display_destroy() is called when platform specific display
initialisation fails. However, this would typically lead to a
segfault due to the dri2_egl_display vbtl not having been set up.

Fixes: 2db95482 ("loader_dri3/glx/egl: Optionally use a blit
context for blitting operations")
Signed-off-by: default avatarFrank Binns <francisbinns@gmail.com>
Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
(cherry picked from commit 6160bf97)
parent f2778ed2
No related branches found
No related tags found
No related merge requests found
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