Tech ENABLE_OPENGL_ERROR_LOGGING set as default

This commit is contained in:
enricoturri1966 2021-02-25 13:38:52 +01:00
parent 21b044b556
commit 8f8217723c
3 changed files with 4 additions and 11 deletions

View file

@ -10,10 +10,7 @@
#include <functional>
#if ENABLE_OPENGL_ERROR_LOGGING || ! defined(NDEBUG)
#define HAS_GLSAFE
#endif
#define HAS_GLSAFE
#ifdef HAS_GLSAFE
extern void glAssertRecentCallImpl(const char *file_name, unsigned int line, const char *function_name);
inline void glAssertRecentCall() { glAssertRecentCallImpl(__FILE__, __LINE__, __FUNCTION__); }