mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
render/vulkan: Initialize to fix compilation error
This commit is contained in:
parent
be73da28b2
commit
06c0b0a204
1 changed files with 1 additions and 1 deletions
|
|
@ -2388,7 +2388,7 @@ struct wlr_vk_pipeline_layout *get_or_create_pipeline_layout(
|
||||||
pipeline_layout->key = *key;
|
pipeline_layout->key = *key;
|
||||||
|
|
||||||
VkResult res;
|
VkResult res;
|
||||||
VkFilter filter;
|
VkFilter filter = VK_FILTER_LINEAR;
|
||||||
switch (key->filter_mode) {
|
switch (key->filter_mode) {
|
||||||
case WLR_SCALE_FILTER_BILINEAR:
|
case WLR_SCALE_FILTER_BILINEAR:
|
||||||
filter = VK_FILTER_LINEAR;
|
filter = VK_FILTER_LINEAR;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue