25 #include <GLES2/gl2.h>
26 #elif GLES_VERSION == 3
27 #include <GLES3/gl3.h>
29 #error "GLES_VERSION must be defined as either 2 or 3"
static char * loadShader(const char *filename)
Load shader source from a file into memory.
Functions for working with OpenGL ES shaders.
static void processShader(GLuint *shader, const char *filename, GLint shaderType)
Create shader, load in source, compile, and dump debug as necessary.
typedef GLuint(GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC)(GLuint count