Re: Standalone opengl bindings

2013-05-05 Thread Jacob Carlborg
On 2013-05-05 05:58, Diggory wrote: I wrote this mainly for my own benefit, but I figured it might be useful to someone else. It's a small program which generates opengl bindings for D directly from the specification. https://github.com/Diggsey/OpenGL-D-Bindings It generates a single file gl.d

Re: Standalone opengl bindings

2013-05-05 Thread Diggory
On Sunday, 5 May 2013 at 08:52:27 UTC, Jacob Carlborg wrote: On 2013-05-05 05:58, Diggory wrote: I wrote this mainly for my own benefit, but I figured it might be useful to someone else. It's a small program which generates opengl bindings for D directly from the specification.

Re: Standalone opengl bindings

2013-05-05 Thread David
A few reasons: - It's one file that does JUST the opengl stuff. With derelict, the functions it provides overlap with the platform SDK. Sure you can prevent conflicts by aliasing them but it's messy and a waste. I don't understand it, which function e.g. conflicts? - Derelict requires

Re: Standalone opengl bindings

2013-05-05 Thread Diggory
On Sunday, 5 May 2013 at 10:47:39 UTC, David wrote: I don't understand it, which function e.g. conflicts? Derelict defines a bunch of platform specific functions (wgl***, some pixel format functions, etc.) which belong in the platform sdk, not in the opengl bindings. Well, for Derelict I

Re: Standalone opengl bindings

2013-05-05 Thread Kiith-Sa
Actually, the current (well, WIP) version is Derelict3: https://github.com/aldacron/Derelict3

Re: Standalone opengl bindings

2013-05-05 Thread Mike Parker
On Sunday, 5 May 2013 at 21:33:35 UTC, Diggory wrote: Ah I was looking at Derelict rather than Derelict2 apparently - slightly confusing having the latest version in a branch... I never really *finished* Derelict 2. The only thing holding me back from declaring it so was the lack of

Standalone opengl bindings

2013-05-04 Thread Diggory
I wrote this mainly for my own benefit, but I figured it might be useful to someone else. It's a small program which generates opengl bindings for D directly from the specification. https://github.com/Diggsey/OpenGL-D-Bindings It generates a single file gl.d which by default will do no more