Why is GL_TEXTURE_MAX_ANISOTROPY_EXT undefined?

Posted by Haydn on Game Development See other posts from Game Development or by Haydn
Published on 2014-02-23T00:01:44Z Indexed on 2014/05/29 22:06 UTC
Read the original article Hit count: 350

Filed under:
|
|

So I'm writing my texture class in my opengl game, I get to the part where I would normally set GL_TEXTURE_MAX_ANISOTROPY_EXT, and I'm shocked to discover that it's undefined! This exact same extensions worked perfectly in a different application, so I know it's not a typo or something.

It's worth noting that I'm getting my extensions using glcorearb.h, instead of glext.h, because I have no intention of supporting the compatibility profile. Could this be my problem, and if so, how do I work around it?

© Game Development or respective owner

Related posts about opengl

Related posts about c++