Errors: Help Me

Started by
0 comments, last by SteelBlue 22 years, 8 months ago
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
Tha Funkalicious one
Advertisement
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?

This topic is closed to new replies.

Advertisement