diff options
| author | Mat M <mathew1800@gmail.com> | 2018-03-16 11:59:14 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-16 11:59:14 -0400 |
| commit | 9f4d5122a2a1b2d0dbfd6164a616d1c859ef0d0b (patch) | |
| tree | b1abde9e2426fee186ef9ae114d76e03ebaeae3e /Source/Core/VideoBackends/Vulkan/TextureConverter.cpp | |
| parent | 1259370cdfcc23c0939bb72fb5dcf2e62096192f (diff) | |
| parent | 50a476c3714b3c423609ec04ce424c244bd2a1c1 (diff) | |
Merge pull request #6438 from lioncash/assert
Assert: Uppercase assertion macros
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/TextureConverter.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/TextureConverter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<VKTexture*>(src_entry->texture.get()); VKTexture* destination_texture = static_cast<VKTexture*>(dst_entry->texture.get()); - _assert_(static_cast<size_t>(palette_format) < NUM_PALETTE_CONVERSION_SHADERS); - _assert_(destination_texture->GetConfig().rendertarget); + ASSERT(static_cast<size_t>(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; |
