GL2Unit is an OpenGL binding generator for Free Pascal and Lazarus that parses the official
gl.xml file to create an
opengl.pas unit file that dynamically loads all OpenGL entry points for both the OpenGL core and extensions. Note that at the moment only Windows is supported, although soon i'll add Linux and perhaps Mac OS X support (it is a matter of writing ~10 OS-specific loader lines of code).
- You can download the sources using Fossil or a ZIP with the latest commit.
- Altenatively you can only get the latest generated OpenGL.pas file.
The code is under zlib license. The repository contains the
gl.xml file by The Khronos Group Inc, licensed under the Apache License version 2.0.