PDA

View Full Version : Best OpenGL headers



Lightning
11-01-2005, 11:22 PM
I was wondering wich OpenGL headers are the most up-to-date, i used the ones @ delphi3d.net since they are also used by FreePascal and have a nice organisation, i also like the extension tool.
Are the DelphiGL headers better, did anyone tried them with FPC ?

Traveler
12-01-2005, 07:32 AM
I'm using the headers from DelphiGL. However not in combination with FPC.
I wonder though if the most up to date headers are requirement. I mean if you dont need the new functionality why bother with a much larger header? (for example the 1.5 header from delphigl increases the exe quite a bit)

Lightning
12-01-2005, 09:03 AM
Maybe you are right, they could put in some directives to link only the versions you need, i think there should be no problem to use them with FPC since they work in Kylix, however FPC has some nice macros to avoid all those IFDEFS (don't work in Delphi :( ), it simply declares a dummy calling convention and then it swiches it based on the OS defines, i love those macros 8) .
I was thinking that if i have enough time i will make my own based on both headers and include my own tricks in them.