D for game Development

Mike Parker aldacron at gmail.com
Thu Feb 16 08:00:51 PST 2012


On 2/16/2012 1:23 AM, Kiith-Sa wrote:
>> To clarify, Derelict 2 fully supports up to OpenGL 3.3. 4.x support is
>> partial (but will be fully implemented very soon). Derelict 3 supports
>> all versions of OpenGL, minus features deprecated in 3.x (i.e. core
>> OpenGL profiles only).
>
> Does that mean it is not possible to use old OpenGL 2.x style code with
> Derelict3?
>
> I'm planning to move to a GL3 video backend for my project, but I still
> expect to support GL2 for platforms where GL3 is not supported - e.g.
> Linux with open source drivers (although those should be getting basic
> GL 3.0 support this year)
>
> I can understand if old GL is too much effort to support, though - in
> the worst case, I can use Derelict2 based code for a few more years.

If you aren't using any deprecated features, you'll be fine with 
DerelictGL3. However, I realize that there will be a number of people 
who aren't ready to fully migrate to 3.x and may need to continue using 
deprecated features for a while. So I will be making a package that 
supports that sort of thing, i.e. a port of what's in Derelict 2.


More information about the Digitalmars-d-learn mailing list