Original Post
Hi everyone, I get this error: error C2065: 'GL_DEPTH_TEXTURE_MODE' : undeclared identifier when I try to call glTexParameteri(GL_TEXTURE_2D, GL_DEPTH_TEXTURE_MODE, GL_INTENSITY); I read that GL_DEPTH_TEXTURE_MODE is available only if the GL version is 1.4 or greater. Using glGetString(GL_VERSION), I've checked that my version is 2.1.2. So what is the problem here? Thanks in advance..