 |
MeshLib C++ Docs
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
3#if !defined( NDEBUG ) && !defined( MR_GL_NO_LOGGING )
4#include "MRPch/MRSpdlog.h"
6#define GL_EXEC( ... ) \
7 [&]() -> decltype(auto) \
10 auto error = glGetError();\
12 spdlog::warn("GL error: {} In file: {} Line: {}", error , __FILE__ , __LINE__ );\
17#define GL_EXEC( ... ) __VA_ARGS__