summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/TextureCache.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-03-14 20:34:35 -0400
committerLioncash <mathew1800@gmail.com>2018-03-14 22:03:12 -0400
commit50a476c3714b3c423609ec04ce424c244bd2a1c1 (patch)
tree68a1dadba4b9d61223401993865d0efa314e6a26 /Source/Core/VideoBackends/OGL/TextureCache.cpp
parent19d97f3fd972f1577ec821306bd438d2cf0232a8 (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/OGL/TextureCache.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/TextureCache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/TextureCache.cpp b/Source/Core/VideoBackends/OGL/TextureCache.cpp
index bd2e1cfcd1..24f94e39db 100644
--- a/Source/Core/VideoBackends/OGL/TextureCache.cpp
+++ b/Source/Core/VideoBackends/OGL/TextureCache.cpp
@@ -132,7 +132,7 @@ GLuint TextureCache::GetColorCopyPositionUniform() const
bool TextureCache::CompilePaletteShader(TLUTFormat tlutfmt, const std::string& vcode,
const std::string& pcode, const std::string& gcode)
{
- _assert_(IsValidTLUTFormat(tlutfmt));
+ ASSERT(IsValidTLUTFormat(tlutfmt));
PaletteShader& shader = m_palette_shaders[static_cast<int>(tlutfmt)];
if (!ProgramShaderCache::CompileShader(shader.shader, vcode, pcode, gcode))
@@ -289,7 +289,7 @@ void TextureCache::ConvertTexture(TCacheEntry* destination, TCacheEntry* source,
if (!g_ActiveConfig.backend_info.bSupportsPaletteConversion)
return;
- _assert_(IsValidTLUTFormat(tlutfmt));
+ ASSERT(IsValidTLUTFormat(tlutfmt));
const PaletteShader& palette_shader = m_palette_shaders[static_cast<int>(tlutfmt)];
g_renderer->ResetAPIState();