From 7ec63c08b822006623585532cea88543b287c866 Mon Sep 17 00:00:00 2001 From: Piers Daniell Date: Tue, 13 Dec 2016 16:51:49 -0700 Subject: Allocate for real ICD surfaces for the VK_KHR_display extension This was done for all the other WSI extensions, just not VK_KHR_display --- loader/wsi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/loader/wsi.c b/loader/wsi.c index c6270268..9462b448 100644 --- a/loader/wsi.c +++ b/loader/wsi.c @@ -1528,11 +1528,10 @@ VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateDisplayPlaneSurfaceKHR( goto out; } - // The VK_KHR_display path will continue to use the old path (hence the - // false as the last parameter). + // Next, if so, proceed with the implementation of this function: pIcdSurface = AllocateIcdSurfaceStruct(inst, sizeof(pIcdSurface->display_surf.base), - sizeof(pIcdSurface->display_surf), false); + sizeof(pIcdSurface->display_surf), true); if (pIcdSurface == NULL) { vkRes = VK_ERROR_OUT_OF_HOST_MEMORY; goto out; -- cgit v1.2.3