mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
wsi/x11: Remove unused vk_alpha in get_dri3_modifiers.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27035>
This commit is contained in:
parent
b25564ba33
commit
2b9c54d47d
1 changed files with 0 additions and 2 deletions
|
|
@ -2276,7 +2276,6 @@ static void
|
||||||
wsi_x11_get_dri3_modifiers(struct wsi_x11_connection *wsi_conn,
|
wsi_x11_get_dri3_modifiers(struct wsi_x11_connection *wsi_conn,
|
||||||
xcb_connection_t *conn, xcb_window_t window,
|
xcb_connection_t *conn, xcb_window_t window,
|
||||||
uint8_t depth, uint8_t bpp,
|
uint8_t depth, uint8_t bpp,
|
||||||
VkCompositeAlphaFlagsKHR vk_alpha,
|
|
||||||
uint64_t **modifiers_in, uint32_t *num_modifiers_in,
|
uint64_t **modifiers_in, uint32_t *num_modifiers_in,
|
||||||
uint32_t *num_tranches_in,
|
uint32_t *num_tranches_in,
|
||||||
const VkAllocationCallbacks *pAllocator)
|
const VkAllocationCallbacks *pAllocator)
|
||||||
|
|
@ -2698,7 +2697,6 @@ x11_surface_create_swapchain(VkIcdSurfaceBase *icd_surface,
|
||||||
};
|
};
|
||||||
if (wsi_device->supports_modifiers) {
|
if (wsi_device->supports_modifiers) {
|
||||||
wsi_x11_get_dri3_modifiers(wsi_conn, conn, window, bit_depth, 32,
|
wsi_x11_get_dri3_modifiers(wsi_conn, conn, window, bit_depth, 32,
|
||||||
pCreateInfo->compositeAlpha,
|
|
||||||
modifiers, num_modifiers,
|
modifiers, num_modifiers,
|
||||||
&drm_image_params.num_modifier_lists,
|
&drm_image_params.num_modifier_lists,
|
||||||
pAllocator);
|
pAllocator);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue