From 4fa89b139df05816d6f710a2da8c14e98e1b393b Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Wed, 10 Jun 2015 17:52:04 -0600 Subject: wsi: Fix icd lookup for WSI extension --- loader/wsi_lunarg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'loader') 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; -- cgit v1.2.3