aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-10 17:52:04 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-06-17 19:47:02 -0600
commit4fa89b139df05816d6f710a2da8c14e98e1b393b (patch)
treeee66715a54783a70ac140266a3c29798393d65a4 /loader
parenta4a2c134fede2aa816965a1a0194c9b570f11b43 (diff)
downloadusermoji-4fa89b139df05816d6f710a2da8c14e98e1b393b.tar.xz
wsi: Fix icd lookup for WSI extension
Diffstat (limited to 'loader')
-rw-r--r--loader/wsi_lunarg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/wsi_lunarg.c b/loader/wsi_lunarg.c
index 5d8a51b8..c226a022 100644
--- a/loader/wsi_lunarg.c
+++ b/loader/wsi_lunarg.c
@@ -106,6 +106,7 @@ VkResult loader_GetDisplayInfoWSI(
void* pData)
{
uint32_t gpu_index;
+ /* TODO: need another way to find the icd, display is not a gpu object */
struct loader_icd *icd = loader_get_icd((const VkBaseLayerObject *) display, &gpu_index);
VkResult res = VK_ERROR_INITIALIZATION_FAILED;