25 #ifndef CPP3DS_GLCHECK_HPP
26 #define CPP3DS_GLCHECK_HPP
31 #include <cpp3ds/OpenGL/GLExtensions.hpp>
45 #define glCheck(x) x; cpp3ds::priv::glCheckError(__FILE__, __LINE__);
50 #define glCheck(call) (call)
61 void glCheckError(
const char* file,
unsigned int line);