Advertisement
Kitomas

_gl_err.hpp as of 2024-02-02

Feb 2nd, 2024
717
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. //assumes glew is being used
  2. #pragma once
  3.  
  4.  
  5.  
  6.  
  7. #if defined(_DEBUG)
  8.  
  9.  
  10. #ifdef    glCreateShader
  11. #undef    glCreateShader
  12. #define   glCreateShader(...) \
  13.   GLEW_GET_FUN(__glewCreateShader)(__VA_ARGS__); gl::errLogAll(0,"");
  14. #endif /* glCreateShader */
  15.  
  16.  
  17. #endif
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement