Tucano
0.1
A library for rapid prototyping with modern OpenGL and GLSL
|
Functions | |
void | errorCheckFunc (std::string file, int line, std::string message="") |
GL error check method. More... | |
void | initGlew (void) |
Initialize Glew. More... | |
|
inline |
GL error check method.
This is a method to check for OpenGL erros. Note this will catch the last OpenGL error, independently form where it was thrown. This should be used more for debug purposes. Usually the macros FILE and LINE are passed as parameters, with and optional custom message.
file | File from where method was called. |
line | Line in file. |
message | A custom message to be exhibited. |
|
inline |
Initialize Glew.