GameKit  0.0.1a
C++ gamedev tools
Namespaces | Macros | Functions
GLCheck.hpp File Reference

Go to the source code of this file.

Namespaces

 gk
 
 gk::priv
 

Macros

#define glCheck(expr)   do { expr; gk::priv::glCheckError(__FILE__, __LINE__, #expr); } while (false)
 

Functions

void gk::priv::glCheckError (const char *file, unsigned int line, const char *expression)
 

Macro Definition Documentation

§ glCheck

#define glCheck (   expr)    do { expr; gk::priv::glCheckError(__FILE__, __LINE__, #expr); } while (false)

Definition at line 18 of file GLCheck.hpp.