I have sources of some game. When I run this game it fails on function glVertexAttribFormat with error "Exception thrown at 0x00000000 in CSC3222.exe: 0xC0000005: Access violation executing location 0x00000000.".
With the help of the users of this site, I have found that this function was not loaded. This function is actually is function pointer and its value is null.
Why it is not loaded? How I can fix this problem?
I use glad loader.
OS: Windows 8.1 OpenGL version: 4.2
Sorry, I did not notice it earlier in my comment, but glVertexAttribFormat
is OpenGL 4.3+ function link, so you need to use glad loader with that or higher version. It can be generated here glad
User contributions licensed under CC BY-SA 3.0