Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #define GLEW_STATIC
- #include <GL/glew.h>
- #include <GL/gl.h>
- namespace gl {
- /*+++++++++*/
- /* gl::err */
- /*+++++++++*/
- #include "_gl_err.hpp"
- void errClear();
- const char* errStr(Uint32 errorCode);
- Uint32 errLog(int lineNumber, Uint32 errorCode = GL_NO_ERROR);
- void errLogAll(int lineNumber, const char* fileName);
- /*---------*/
- /* gl::err */
- /*---------*/
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement