Hi,

On 26 September 2017 at 23:55, Jason Ekstrand <[email protected]> wrote:
> @@ -833,24 +816,19 @@ wsi_wl_surface_create_swapchain(VkIcdSurfaceBase 
> *icd_surface,
>     chain->vk_format = pCreateInfo->imageFormat;
>     chain->drm_format = wl_drm_format_for_vk_format(chain->vk_format, alpha);
>
> -   chain->display = wsi_wl_get_display(wsi_device, surface->display);
> +   chain->display = wsi_wl_display_create(wsi, surface->display, false);

Please leave this still getting the formats. In the modifier-support
patches, we need the display to have stored the set of acceptable
per-format modifiers, so we'd need to flip the false to true here.

Cheers,
Daniel
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to