Window creation, for phobos?

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 27 15:07:44 PST 2015


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.


More information about the Digitalmars-d mailing list