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
|
@ -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…
Reference in New Issue