vl/dri: fix close fd error out
authorLeo Liu <leo.liu@amd.com>
Thu, 12 May 2016 14:05:57 +0000 (10:05 -0400)
committerLeo Liu <leo.liu@amd.com>
Thu, 12 May 2016 22:26:48 +0000 (18:26 -0400)
commitbd9ae724591d23d029ee9f8a2f200b60bf6fba2c
tree8b640af37be31f39e970e51c90432e81b8680452
parent988b09f9ac6cde0caa2e0db91c1367c90f0f4c2a
vl/dri: fix close fd error out

fd should be set to -1 only if it got closed by pipe_loader_release.

Signed-off-by: Leo Liu <leo.liu@amd.com>
src/gallium/auxiliary/vl/vl_winsys_dri.c