#include "EGLRuntime.h"
#include <cstdio>
Go to the source code of this file.
|
| #define | LOGI Platform::log |
| |
| #define | LOGD |
| |
| #define | LOGE fprintf (stderr, "Error: "); Platform::log |
| |
| #define | ASSERT(x, s) |
| |
| #define | GL_CHECK(x) |
| |
Value:if (!(x)) \
{ \
LOGE("Assertion failed at %s:%i\n%s\n", __FILE__, __LINE__, s); \
exit(1); \
}
Value:x; \
{ \
GLenum glError = glGetError(); \
if(glError != GL_NO_ERROR) { \
LOGE("glGetError() = %i (0x%.8x) at %s:%i\n", glError, glError, __FILE__, __LINE__); \
exit(1); \
} \
}
| #define LOGE fprintf (stderr, "Error: "); Platform::log |
| #define LOGI Platform::log |