diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2018-04-12 21:40:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-12 21:40:29 +0200 |
| commit | b2de380d162c4805edb94808f38a214725d2724e (patch) | |
| tree | 1d8a9e7eea10820e5d645ad5028e506836b856de /Source/Core/VideoBackends/Vulkan/VKTexture.cpp | |
| parent | 0bfeb37a1f50193d39559d29802cb48f45db2b02 (diff) | |
| parent | 40bb9974f21878e64fb03d70e717cb996bf13a29 (diff) | |
Merge pull request #6635 from spycrab/fix_linter
Tools: Bump lint.sh version
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VKTexture.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/VKTexture.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VKTexture.cpp b/Source/Core/VideoBackends/Vulkan/VKTexture.cpp index a62238e8a2..cee60012a8 100644 --- a/Source/Core/VideoBackends/Vulkan/VKTexture.cpp +++ b/Source/Core/VideoBackends/Vulkan/VKTexture.cpp @@ -131,12 +131,14 @@ void VKTexture::CopyRectangleFromTexture(const AbstractTexture* src, { Texture2D* src_texture = static_cast<const VKTexture*>(src)->GetRawTexIdentifier(); - ASSERT_MSG(VIDEO, static_cast<u32>(src_rect.GetWidth()) <= src_texture->GetWidth() && - static_cast<u32>(src_rect.GetHeight()) <= src_texture->GetHeight(), + ASSERT_MSG(VIDEO, + static_cast<u32>(src_rect.GetWidth()) <= src_texture->GetWidth() && + static_cast<u32>(src_rect.GetHeight()) <= src_texture->GetHeight(), "Source rect is too large for CopyRectangleFromTexture"); - ASSERT_MSG(VIDEO, static_cast<u32>(dst_rect.GetWidth()) <= m_config.width && - static_cast<u32>(dst_rect.GetHeight()) <= m_config.height, + ASSERT_MSG(VIDEO, + static_cast<u32>(dst_rect.GetWidth()) <= m_config.width && + static_cast<u32>(dst_rect.GetHeight()) <= m_config.height, "Dest rect is too large for CopyRectangleFromTexture"); VkImageCopy image_copy = { |
