WinAPI for druntime and OpenGL for deimos.

Mike Parker aldacron at gmail.com
Sun Nov 25 06:30:51 PST 2012


On Sunday, 25 November 2012 at 10:49:20 UTC, Gor Gyolchanyan 
wrote:
> DerelictGL is flawed. It uses OpenGL32.dll, which is 
> deliberately nerfed by
> Microsoft. the wglGetProcAddress gets the functions pointers, 
> which are
> unavailable from OpenGL32.dll and Derelict doesn't use it.
>

No, that's just wrong. DerelictGL3.load() loads the DLL into 
memory along with the 1.1 interface. Then after you create a 
context, DerelictGL3.reload() will use wglGetProcAddress to load 
the rest of OpenGL up to the highest supported version. Do you 
really think that people would have been using Derelict for the 
past 8+ years if it didn't give them access to 
hardware-accelerated OpenGL?


More information about the Digitalmars-d mailing list