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
-
you use glad and its giving you a hard time, symbols not found, multiple definitions etc
- you most likely did just generate the headers on dav1d's site and manually downloaded the zip and all that bs some time ago
- if you cant be bothered to use cmake and let cmake handle all that for you, check the timestamp when you generated it last time, and if its (most likely) old, regenerate it again, will most likely fix it
- use cmake to fetch glad and it will handle gl header generation
-
nothing works:
- get rid of GLCALL/GLCHECK macros, most of them use glGetError incorrectly anyway
-
setup glDebugMessageCallback see here