Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void gl::errLogAll(int lineNumber, const char* fileName){
- Uint32 errorCode = gl::errLog(-2); //-2 for no print at all
- if(errorCode != GL_NO_ERROR){
- SDL_Log("%s : %4i:", fileName, lineNumber);
- gl::errLog(-1,errorCode);
- do {
- gl::errLog(-1);
- } while(errorCode != GL_NO_ERROR);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement