Skip to main content
5 of 5
edited body
user avatar
user avatar

First of all, Opengl is not a library, it's callled a "specification". Libraries like GLEW (OpenGl Extension Wrangler) just specify the functions you need to control your gpu. At that point, it's the graphics card manifacturer's job to implement those functions.

"The OpenGL specification specifies exactly what the result/output of each function should be and how it should perform. It is then up to the developers implementing this specification to come up with a solution of how this function should operate. Since the OpenGL specification does not give us implementation details, the actual developed versions of OpenGL are allowed to have different implementations, as long as their results comply with the specification (and are thus the same to the user)."

One way you could verify if you are able to run Opengl is by creating a simple program with it. In C++ for example, you could write a s imple "hello world" program, using glfw(winidowing Api) and Glew. In the main.cpp file ypu should set the OpenGl context version to 4.0 and see if it runs. You can also check what the currrnt version of Opengl is, by calling glGetString(GL_VERSION); Now, this might not be the ideal way to do it, I'm sure there is an easier way to check for OGL drivers, so i would really appreciate if someone corrected me in the comments section :)

I also would like to leave some useful resources here and here

user100681