Fork me on GitHub

OpenGLAda

Thick Ada Binding for OpenGL

The package GL.Context

This package lets you query various information about the current OpenGL context:

There is also Has_Extension, which checks whether a given extension name is part of the extension list (in case when you’re wondering why the corresponding GLFW function has not been wrapped; this function provides the same functionality).