• Advertisement
Sign in to follow this  

glFogCoordf(...) not found

This topic is 3349 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. I was trying to use glFogCoordf(...), but getting " error C3861: 'glFogCoordf': identifier not found". I have looked into the glext.h, and it is defined there, but included, as this .... #ifndef GL_VERSION_1_4 #define GL_VERSION_1_4 1 #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum); GLAPI void APIENTRY glFogCoordf (GLfloat); GLAPI void APIENTRY glFogCoordfv (const GLfloat *); .... I am using openGL 2.1. where does this "GL_GLEXT_PROTOTYPES" gets defined, or how can I use glFogCoordf(float ) ? Any help will be appreciated. Regards

Share this post


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

  • Advertisement