-
Notifications
You must be signed in to change notification settings - Fork 111
GL \ API updates
Luca Piccioni edited this page Mar 9, 2017
·
3 revisions
Suppose you need a brand new extension exposed by the lastest OpenGL driver. How include it in OpenGL.Net? It is not that hard.
Follow the steps:
- Checkout the OpenGL XML Registry at https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/. Copy the following files to the
/GLSpecs/
directory:
- gl.xml
- wgl.xml
- glx.xml
- egl.xml
- Optionally, update documentation source by checking-out OpenGL manuals:
Sync the directories located at /GLMan
with the correponding repositories checked-out above.
-
Open the solution file
/BindingsGen.sln
. Build the _BindingsGen _project, using the Release configuration. Then run it: it takes some minute. -
Try to compile the OpenGL.Net project: if no compilation errors occurs, you have almost done. In the case of compilation errors, you should check how to fix them by configuring (or modifying) the _BindingsGen _executable.
-
Check actual modifications on OpenGL.Net project. If they are accettable, commit them. Enjoy.