#7293 - Do not put __FILE__ info in release mode

This commit is contained in:
enricoturri1966 2021-11-12 15:08:04 +01:00
parent 87c2e90a5d
commit d43ddce078

View File

@ -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__); }