wgl: Add a stw_dev getter
authorJesse Natalie <jenatali@microsoft.com>
Sat, 4 Sep 2021 15:07:45 +0000 (08:07 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 15 Sep 2021 20:17:31 +0000 (20:17 +0000)
commit90d2b93731992775a050d1fb1d15b9d2f4c9ab90
tree1404854ff90d002a466066dda4c8fe3a845b63d2
parentbb706ca93a6b6f4f829e3e596a6cbbace8911295
wgl: Add a stw_dev getter

Data imports need to be marked __declspec(dllimport), so
just export a function instead of data.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed By: Bill Kristiansen <billkris@microsoft.com>

Acked-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12727>
src/gallium/frontends/wgl/stw_device.c
src/gallium/frontends/wgl/stw_device.h