mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
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).
This commit is contained in:
parent
19d97f3fd9
commit
50a476c371
135 changed files with 719 additions and 741 deletions
|
@ -20,8 +20,8 @@ bool AbstractTexture::Save(const std::string& filename, unsigned int level)
|
|||
// We can't dump compressed textures currently (it would mean drawing them to a RGBA8
|
||||
// framebuffer, and saving that). TextureCache does not call Save for custom textures
|
||||
// anyway, so this is fine for now.
|
||||
_assert_(!IsCompressedFormat(m_config.format));
|
||||
_assert_(level < m_config.levels);
|
||||
ASSERT(!IsCompressedFormat(m_config.format));
|
||||
ASSERT(level < m_config.levels);
|
||||
|
||||
// Determine dimensions of image we want to save.
|
||||
u32 level_width = std::max(1u, m_config.width >> level);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue