When I use glad+SDL and call function glVertexAttribDivisor. It said "Exception thrown at 0x00000000". However, when I change it to glad+glfw, it works well.
The stack is here:
Partical System.exe!SDL_main(int argc, char * * argv) Line 404 C++
Partical System.exe!main_getcmdline(...) Line 161 C
Partical System.exe!invoke_main() Line 78 C++
Partical System.exe!__scrt_common_main_seh() Line 288 C++
Partical System.exe!__scrt_common_main() Line 331 C++
Partical System.exe!mainCRTStartup() Line 17 C++
kernel32.dll!@BaseThreadInitThunk@12() Unknown
ntdll.dll!__RtlUserThreadStart() Unknown
ntdll.dll!__RtlUserThreadStart@8() Unknown
User contributions licensed under CC BY-SA 3.0