diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-06-19 18:00:26 -0400 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-06-19 18:00:26 -0400 |
commit | 06c0b0a204e36f90e7e1c78d8e67035620fd5516 (patch) | |
tree | d7de1106180aa5646b6587f4a7f2ebe73aeb4064 /render/vulkan | |
parent | be73da28b24f3250178a0c5448e835f810f75f28 (diff) |
render/vulkan: Initialize to fix compilation error
Diffstat (limited to 'render/vulkan')
-rw-r--r-- | render/vulkan/renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/vulkan/renderer.c b/render/vulkan/renderer.c index 374d6384..76da79fe 100644 --- a/render/vulkan/renderer.c +++ b/render/vulkan/renderer.c @@ -2388,7 +2388,7 @@ struct wlr_vk_pipeline_layout *get_or_create_pipeline_layout( pipeline_layout->key = *key; VkResult res; - VkFilter filter; + VkFilter filter = VK_FILTER_LINEAR; switch (key->filter_mode) { case WLR_SCALE_FILTER_BILINEAR: filter = VK_FILTER_LINEAR; |