#7293 - Do not put __FILE__ info in release mode
This commit is contained in:
parent
87c2e90a5d
commit
d43ddce078
@ -13,7 +13,10 @@
|
||||
#include <functional>
|
||||
#include <optional>
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define HAS_GLSAFE
|
||||
#endif // NDEBUG
|
||||
|
||||
#ifdef HAS_GLSAFE
|
||||
extern void glAssertRecentCallImpl(const char *file_name, unsigned int line, const char *function_name);
|
||||
inline void glAssertRecentCall() { glAssertRecentCallImpl(__FILE__, __LINE__, __FUNCTION__); }
|
||||
|
Loading…
Reference in New Issue
Block a user