2
votes
1answer
4k views

How to properly check if an OpenGL version is available

I can't find any information on glCreateContextAttribsARB returning errors if a version is unsuported by the driver. So how do i check if it is? I don't want the program to hard crash because ...