[fpc-pascal] How to use OpenGL 2.0 features
dmitry boyarintsev
skalogryz.lists at gmail.com
Sun May 10 16:46:26 CEST 2009
> 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.
You'll also need to initialize any OpenGL extension you might to use.
>> Nonetheless, I don't understand why the ARB version does not work. AFAIK it has the same entry points as the core functionality and OpenGL versions are required to support the ARB version of functions even if the non ARB version is in the core now.
ARB function should be loaded as well.
hmm, if you failed to load glIsBufferARB function, but did
successfully loaded glIsBuffer function, why don't you bind them into
single one?
if glIsBufferARB = nil then glIsBufferARB := @glIsBuffer;
thanks,
dmitry
More information about the fpc-pascal
mailing list