Advertisement
Kitomas

gl.hpp as of 2024-02-02

Feb 2nd, 2024
702
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. #pragma once
  2.  
  3. #define GLEW_STATIC
  4. #include <GL/glew.h>
  5. #include <GL/gl.h>
  6.  
  7.  
  8. namespace gl {
  9.  
  10.  
  11.  
  12.  
  13. /*+++++++++*/
  14. /* gl::err */
  15. /*+++++++++*/
  16.  
  17. #include "_gl_err.hpp"
  18.  
  19.  
  20. void errClear();
  21. const char* errStr(Uint32 errorCode);
  22. Uint32 errLog(int lineNumber, Uint32 errorCode = GL_NO_ERROR);
  23. void errLogAll(int lineNumber, const char* fileName);
  24.  
  25. /*---------*/
  26. /* gl::err */
  27. /*---------*/
  28.  
  29.  
  30.  
  31.  
  32. };
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement