Merge pull request #43776 from lawnjelly/ewok_asserts3
2d Legacy - close vulnerabilities and more debug checks
This commit is contained in:
@ -55,4 +55,13 @@
|
||||
#define RAST_DEBUG_ASSERT(a)
|
||||
#endif
|
||||
|
||||
// Thin wrapper around ERR_FAIL_COND to allow us to make it debug only
|
||||
#ifdef DEBUG_ENABLED
|
||||
#define RAST_FAIL_COND(m_cond) ERR_FAIL_COND(m_cond)
|
||||
#else
|
||||
#define RAST_FAIL_COND(m_cond) \
|
||||
if (m_cond) { \
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // RASTERIZER_ASSERTS_H
|
||||
|
||||
Reference in New Issue
Block a user