mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 11:20:20 +01:00
st/mesa: don't call close() on Windows
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
652bc4b537
commit
76a4209dc0
1 changed files with 2 additions and 0 deletions
|
|
@ -51,8 +51,10 @@ st_import_memoryobj_fd(struct gl_context *ctx,
|
|||
&whandle,
|
||||
obj->Dedicated);
|
||||
|
||||
#if !defined(_WIN32)
|
||||
/* We own fd, but we no longer need it. So get rid of it */
|
||||
close(fd);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue