Skip to content
Snippets Groups Projects
Commit 262e3b3b authored by Mike Blumenkrantz's avatar Mike Blumenkrantz :lifter: Committed by Eric Engestrom
Browse files

egl: fix zink init


* close(fd) requires also resetting the fd=-1 or else boom
* checking just driver_name is broken because loader_get_driver_for_fd()
  uses MESA_LOADER_DRIVER_OVERRIDE, so there's no way to differentiate
  an inferred load

Fixes: b907eb47 ("egl: don't bind zink under dri2/3")

Acked-by: default avatarDave Airlie <airlied@redhat.com>
Part-of: <mesa/mesa!30556>
(cherry picked from commit 1a579552)
parent 07c99c55
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