OpenGL not rendering when OpenAL sound plays
I’m trying to make a game engine in c++ with OpenGL rendering and OpenAL sound using the AudioFile library. When I try to play a sound, it still plays but the OpenGL program crashes. This is the AudioSource script: