Skip to content

Commit

Permalink
rendervulkan: Fix scanout-able check
Browse files Browse the repository at this point in the history
  • Loading branch information
misyltoad committed Sep 16, 2024
1 parent cc28cd7 commit 7a27374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendervulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2159,7 +2159,7 @@ bool CVulkanTexture::BInit( uint32_t width, uint32_t height, uint32_t depth, uin
imageInfo.tiling = tiling = VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT;
}

if ( GetBackend()->UsesModifiers() && flags.bFlippable == true && tiling != VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT )
if ( flags.bFlippable == true && tiling != VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT )
{
// We want to scan-out the image
wsiImageCreateInfo = {
Expand Down

0 comments on commit 7a27374

Please sign in to comment.