mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 17:08:25 +02:00
pipe_loader_sw: Don't invoke Unix close() on Windows.
Trivial.
This commit is contained in:
parent
ebffa7b6af
commit
c6d17701c8
1 changed files with 2 additions and 0 deletions
|
|
@ -277,8 +277,10 @@ pipe_loader_sw_release(struct pipe_loader_device **dev)
|
|||
util_dl_close(sdev->lib);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PIPE_LOADER_KMS
|
||||
if (sdev->fd != -1)
|
||||
close(sdev->fd);
|
||||
#endif
|
||||
|
||||
FREE(sdev);
|
||||
*dev = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue