i was wondering if we should/could list common errors in the gl get started thing too, after debugcallback/renderdoc chapters or probably in some appendix, if you have more of those, let me know then we can compile those together into some comprehensive unfuck gl list
-
nothing works:
- get rid of GLCALL/GLCHECK macros, most of them use glGetError incorrectly anyway
- setup glDebugMessageCallback see here
- your shaders could contain errors, make sure you check compile and linking state and fix according to what the error was highlighting
-
renderdoc crashes when i try to capture something from my project:
- most likely some of your code is fucked, its rarely renderdoc being fucked in that case
-
make sure to hookup glDebugMessageCallback as stated above