#define ilG_testError(const char *fmt, ...) ...
Tests for an error using glGetError() and produces a message formatted like il_log() if there is one.
#define IL_GRAPHICS_TESTERROR ilG_testError
Deprecated, old name of macro.
const char * ilG_strerror(GLenum err);
Converts a GL error into a string.
GLuint ilG_makeShader(GLenum type, il_string source);
Compiles and returns a shader of type from source and returns the reference, printing any errors.
void ilG_linkProgram(GLuint program);
Links a program, printing any errors.
void ilG_bindMVP(const char *name, GLuint program, const ilG_camera *camera, const il_positionable * object);
Builds an MVP 4x4 matrix from the camera and object provided, and binds it to the uniform location at name in program.
There was an error while loading. Please reload this page.