#include "MRPch/MRSpdlog.h"
#include "MRMesh/MRFinally.h"
Go to the source code of this file.
◆ GL_EXEC
Value: [&]() -> decltype(auto) \
{ \
auto error = glGetError();\
if ( error != 0 )\
spdlog::warn("GL error: {} In file: {} Line: {}", error , __FILE__ , __LINE__ );\
}; \
return __VA_ARGS__;\
}()
#define MR_FINALLY
Usage: MR_FINALLY{...};. Runs the code in braces when exiting the current scope, either normally or v...
Definition MRFinally.h:11