Errors: Help Me
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
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?
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
Popular Topics
Advertisement