This lets us include it in Linux builds as well, without needing
to pull in IUnknown.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7937>
#define WINSYS_HANDLE_TYPE_KMS 1
#define WINSYS_HANDLE_TYPE_FD 2
#define WINSYS_HANDLE_TYPE_SHMID 3
-
-#ifdef _WIN32
-#include <unknwn.h>
#define WINSYS_HANDLE_TYPE_D3D12_RES 4
-#endif
/**
* For use with pipe_screen::{texture_from_handle|texture_get_handle}.
*/
uint64_t modifier;
-#ifdef _WIN32
/**
* Input to resource_from_handle.
* Output for resource_get_handle.
*/
- IUnknown *com_obj;
-#endif
+ void *com_obj;
};
#ifdef __cplusplus