#include <sstream>
#include <jevois/Debug/Log.H>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
Go to the source code of this file.
|
#define | GL_CHECK(stmt) |
| Simple macro to check for OpenGL errors. More...
|
|
#define | GL_CHECK_BOOL(stmt) |
| Simple macro to check for OpenGL errors when a boolean result is expected. More...
|
|
◆ GL_CHECK
◆ GL_CHECK_BOOL
#define GL_CHECK_BOOL |
( |
|
stmt | ) |
|
Value: do {
int _result = stmt;
if (_result == 0)
LERROR(
"Failed: " #stmt); \
GLenum _err = glGetError(); \
Simple macro to check for OpenGL errors when a boolean result is expected.
Definition at line 53 of file OpenGL.H.