From 50a476c3714b3c423609ec04ce424c244bd2a1c1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 14 Mar 2018 20:34:35 -0400 Subject: 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). --- Source/Core/VideoBackends/Vulkan/TextureConverter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoBackends/Vulkan/TextureConverter.cpp') diff --git a/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp b/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp index 74e7e12baf..eb9cde54ba 100644 --- a/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp +++ b/Source/Core/VideoBackends/Vulkan/TextureConverter.cpp @@ -158,8 +158,8 @@ void TextureConverter::ConvertTexture(TextureCacheBase::TCacheEntry* dst_entry, VKTexture* source_texture = static_cast(src_entry->texture.get()); VKTexture* destination_texture = static_cast(dst_entry->texture.get()); - _assert_(static_cast(palette_format) < NUM_PALETTE_CONVERSION_SHADERS); - _assert_(destination_texture->GetConfig().rendertarget); + ASSERT(static_cast(palette_format) < NUM_PALETTE_CONVERSION_SHADERS); + ASSERT(destination_texture->GetConfig().rendertarget); // We want to align to 2 bytes (R16) or the device's texel buffer alignment, whichever is greater. size_t palette_size = src_entry->format == TextureFormat::I4 ? 32 : 512; -- cgit v1.2.3