57 #elif defined(__arm__) && defined(__linux__)
59 #elif defined(__linux__)
96 #include "WindowsPlatform.h"
98 #elif defined(__arm__) && defined(__linux__)
99 #include "LinuxOnARMPlatform.h"
101 #elif defined(__linux__)
102 #include "DesktopLinuxPlatform.h"
106 #define GL_CHECK(x) \
109 GLenum glError = glGetError(); \
110 if(glError != GL_NO_ERROR) { \
111 LOGD("glGetError() = %i (0x%.8x) at %s:%i\n", glError, glError, __FILE__, __LINE__); \
116 #define LOGI Platform::log
117 #define LOGE fprintf (stderr, "Error: "); Platform::log
119 #define LOGD fprintf (stderr, "Debug: "); Platform::log
GLint GLsizei GLsizei height
struct WindowProperties window
GLint GLsizei GLsizei GLenum format