diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-03-14 20:34:35 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-03-14 22:03:12 -0400 |
| commit | 50a476c3714b3c423609ec04ce424c244bd2a1c1 (patch) | |
| tree | 68a1dadba4b9d61223401993865d0efa314e6a26 /Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp | |
| parent | 19d97f3fd972f1577ec821306bd438d2cf0232a8 (diff) | |
Assert: Uppercase assertion macros
Macros should be all upper-cased. This is also kind of a wart that's
been sticking out for quite a while now (we avoid prefixing
underscores).
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp b/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp index 27a1fd30f8..1df851cb7c 100644 --- a/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp +++ b/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp @@ -393,9 +393,9 @@ Texture2D* FramebufferManager::ResolveEFBColorTexture(const VkRect2D& region) // It's not valid to resolve out-of-bounds coordinates. // Ensuring the region is within the image is the caller's responsibility. - _assert_(region.offset.x >= 0 && region.offset.y >= 0 && - (static_cast<u32>(region.offset.x) + region.extent.width) <= GetEFBWidth() && - (static_cast<u32>(region.offset.y) + region.extent.height) <= GetEFBHeight()); + ASSERT(region.offset.x >= 0 && region.offset.y >= 0 && + (static_cast<u32>(region.offset.x) + region.extent.width) <= GetEFBWidth() && + (static_cast<u32>(region.offset.y) + region.extent.height) <= GetEFBHeight()); // Resolving is considered to be a transfer operation. m_efb_color_texture->TransitionToLayout(g_command_buffer_mgr->GetCurrentCommandBuffer(), |
