diff options
| author | Piers Daniell <pdaniell@nvidia.com> | 2016-12-13 16:51:49 -0700 |
|---|---|---|
| committer | Mark Young <marky@lunarg.com> | 2016-12-13 17:14:38 -0700 |
| commit | 7ec63c08b822006623585532cea88543b287c866 (patch) | |
| tree | e85d63a7204a167ad10a548a5a0312afe7def982 | |
| parent | 52ad352e3b3ee86123bdecf17d09b83714db7741 (diff) | |
| download | usermoji-7ec63c08b822006623585532cea88543b287c866.tar.xz | |
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
| -rw-r--r-- | loader/wsi.c | 5 |
1 files 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; |
