[fpc-pascal] How to use OpenGL 2.0 features
Lord Satan
reimgrab at web.de
Sun May 10 22:00:16 CEST 2009
On Sun, 10 May 2009 18:46:26 +0400
dmitry boyarintsev <skalogryz.lists at gmail.com> wrote:
> > So it looks like I have to init all OpenGL versions from 1.2 to 2.0 to make sure that all OpenGL 2.0 core functions are initialized. Is this true?
> Judging from glext, it's true.
This makes no sense to me. I can submit a patch so that all lower version functions are loaded when the higher version is loaded (hope it is understood what I mean). I already modified the glext file and just want to know if there is any interest or if the current behaviour has any advantages I fail to see.
> why don't you bind them into
> single one?
> if glIsBufferARB = nil then glIsBufferARB := @glIsBuffer;
Because I only need one working function. I am just trying to understand the limitations of the bindings as there seems to be no documentation. If I will use them, I'd like to improve the current situation and make them as standard complient as possible.
S.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
More information about the fpc-pascal
mailing list