Jump to content
  • Advertisement
Sign in to follow this  
golgoth

OpenGL GL Extentions!

This topic is 4822 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all! I ve been including glprocs.h and glprocs.c found at the sdk link: http://oss.sgi.com/projects/ogl-sample/registry/ then SDK to my c++ v7.1 project and never had to load any (ARB or else) extentions at all! is this an official wrapper for GL extensions? i ve recently replace: glGetUniformLocationARB for: glGetUniformLocation (a new GLSL Demo use it) and i got this: error C3861: 'glGetUniformLocation': identifier not found, even with argument-dependent lookup my first guess was to get the latest glprocs.h and glprocs.c ... but OpenGL does not seams to keep those up to date... i certainly dont like to load extension 1 by 1 and i m not crazy about glew as well... whats going on? anyone can clear this up? thx

Share this post


Link to post
Share on other sites
Advertisement
Eh, my advice is to avoid anything SGI does, they are a bunch of screw ups [lol] But seriously, I've never used their headers, but they're probably not up to date. You could use OpenGL.org's glext.h file, but that's a pain too. My suggestion is to download GLee and use that for extension loading and such.

Share this post


Link to post
Share on other sites
Did you download the latest glext.h file from that site?
Quote:
Original post by golgoth
i certainly dont like to load extension 1 by 1 and i m not crazy about glew as well...
Have you tried GLee?

EDIT: Too slow... [sad]

Share this post


Link to post
Share on other sites
I think the SGI version (without the ARB) has something to do with their
newest revisions of the standard.

I'm not sure if anyone has drivers and headers that implement the newest revisions.

Share this post


Link to post
Share on other sites
I'm not sure if anyone has drivers and headers that implement the newest revisions.

good point...

those glprocs.h and glprocs.c were really usefull if u ask me... all they have to do is to keep them up to date...

glew and glee huh? no other way around... use a wrapper to use a lib... this is so lame...

Share this post


Link to post
Share on other sites
Quote:
Original post by golgoth
Any preferences between Glew and Glee?
GLee is my preference, only because that's the only one I've used and it fit my needs nicely so I didn't bother trying out GLEW as well.
Quote:
Original post by golgoth
those glprocs.h and glprocs.c were really usefull if u ask me... all they have to do is to keep them up to date...

glew and glee huh? no other way around... use a wrapper to use a lib... this is so lame...
The glprocs thing looks to be basically the same thing as GLee and GLEW. And like duke said, they aren't wrappers, they just handle the extension loading for you.

Share this post


Link to post
Share on other sites
Quote:
Original post by golgoth
Any preferences between Glew and Glee?


They are very very similar (I use glee but only because I started with it)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!