

#ifndef TN_GL_UTIL_H
#define TN_GL_UTIL_H

#include <string>
#include <vector>
#include <iosfwd>

#include <foundation/TnTypes.h>
#include <GLES/TnGl.h>

void TnMapDebugCheckGL(char const * message);


/*! This does a glGetError (regardless of compiler settings), logs a
 *  message and returns true. Otherwise it returns false. Should be
 *  used sparingly, when the runtime legitimately needs to know there
 *  was no error (like when loading shaders).  */

bool TnMapCheckGL(char const * message);

#endif
