diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/vulkan/pixel_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/vulkan/pixel_format.c b/render/vulkan/pixel_format.c index b4c40070..a152f467 100644 --- a/render/vulkan/pixel_format.c +++ b/render/vulkan/pixel_format.c @@ -261,7 +261,7 @@ void vulkan_format_props_query(struct wlr_vk_device *dev, } // non-dmabuf texture properties - if (fmtp.formatProperties.optimalTilingFeatures & tex_features) { + if ((fmtp.formatProperties.optimalTilingFeatures & tex_features) == tex_features) { fmti.pNext = NULL; ifmtp.pNext = NULL; fmti.tiling = VK_IMAGE_TILING_OPTIMAL; |