www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - opengl and phobos

reply bobef <bobef_member pathlink.com> writes:
i found few "translations" of opengl headers to D
i wonder which one i should use so i feel
opengl should be made part of phobos.
it would be very cool if we can compile
same opengl programs under windows/linux without
changing the source and without additional libraries.

feel free to support me ;]
Sep 26 2004
parent Lars Ivar Igesund <larsivar igesund.net> writes:
bobef wrote:

 feel free to support me ;]

Well, no ;) There are far to many possible underlying implementations for that to be a smart thing to do. Also, OpenGL grows fast, whereas a standard library should be as stable as possible (not barring new additions, but still).
 i found few "translations" of opengl headers to D
 i wonder which one i should use so i feel
 opengl should be made part of phobos.
 it would be very cool if we can compile
 same opengl programs under windows/linux without
 changing the source and without additional libraries.

You should use the one that works best for you. Derelict (http://www.dsource.org/projects/derelict) might fit the bill. Lars Ivar Igesund
Sep 26 2004