MeshLib C++ Docs
Loading...
Searching...
No Matches
MRGLMacro.h File Reference
#include "MRPch/MRSpdlog.h"
#include "MRMesh/MRFinally.h"

Go to the source code of this file.

Macros

#define GL_EXEC(...)
 

Macro Definition Documentation

◆ GL_EXEC

#define GL_EXEC ( ...)
Value:
( \
{ \
auto error = glGetError();\
if ( error != 0 )\
spdlog::warn("GL error: {} In file: {} Line: {}", error , __FILE__ , __LINE__ );\
})) \
,##__VA_ARGS__\
)
Definition MRFinally.h:38