• Advertisement

Archived

This topic is now archived and is closed to further replies.

Errors: Help Me

This topic is 5998 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

These are the errors i get C:\My Documents\C++ Programming\OpenGL\FirstOpenGL\FirstOpenGL.cpp(43) : error C2065: ''glClearDept'' : undeclared identifier C:\My Documents\C++ Programming\OpenGL\FirstOpenGL\FirstOpenGL.cpp(45) : error C2065: ''glDeptFunc'' : undeclared identifier C:\My Documents\C++ Programming\OpenGL\FirstOpenGL\FirstOpenGL.cpp(55) : error C2065: ''GL_DEPT_BUFFER_BIT'' : undeclared identifier Error executing cl.exe. i have these include statements #include #include #include #include Other gl calls such as the ones below works fine. glViewport( 0, 0, width, height ); glMatrixMode( GL_PROJECTION ); glLoadIdentity(); Tha Funkalicious one

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Those function names are:

glClearDepth()
glDepthFunc()

and the constant is:

GL_DEPTH_BUFFER_BIT

check your spelling before posting your errors here Your ''h'' is broken?

Share this post


Link to post
Share on other sites

  • Advertisement