 |
Banuba SDK
|
3 #include <bnb/utils/defs.hpp>
7 #else // other platforms
9 #endif // BNB_OS_ANDROID
11 void __print_opengl_errors(
const char* file,
int line);
13 #if defined(_DEBUG) || defined(DEBUG) || true
14 #define GL_CHECK_ERROR() \
16 __print_opengl_errors(__FILE__, __LINE__); \
19 #define GL_CHECK_ERROR() ((void) 0)
21 #define GL_CALL(FUNC) \