On Tuesday, 27 January 2015 at 22:54:15 UTC, ketmar wrote:
On Wed, 28 Jan 2015 11:04:55 +1300, Rikki Cattermole wrote:

First off, Derelict-Util/Derelict-GL3 is a biggy here. Its old code, lets admit it. Its also a standard for loading shared library functions.

please, not Derelict! it's a great work and all that, but it's habit to load ALL functions is nasty. not only it is unnecessary, it's sometimes just wrong. i recall the problem with DlangUI, where Derelict tries to load FreeImage function which is not in my (old) version of the library, and DlangUI is not using that function at all. yet DlangUI builds successfully and then failed to run until i commented out that function.

Atleast in Derelict-GL3 its staged, so even if you don't have access to OpenGL 4.x it'll still load successfully 1.1. Ugh I just checked there is no Derelict package for FreeImage, in fact dlangui doesn't depend upon it. I'm now confused. Unless of course you are meaning Derelict-FT. In which case its not staged. And isn't aware of different versions.

Reply via email to