View Full Version : GL_TEXTURE_CUBE_MAP missing.

11-27-2011, 07:27 PM
Hello, I have the following problem:
in need to use in my code GL_TEXTURE_CUBE_MAP enumeration but when I put it compiler says undeclared identifier. This enumeration should be a part of gl.h (which I include) I guess, but I don't find it within my file. . I include glu.h as well. I checked the version of my opengl library with glGetString(GL_VERSION) and it returns version 2.1.2. GL_TEXTURE_CUBE_MAP is supposed to be supported from version 1.3 and above according to what I'have read in internet. So what is the problem I don't get compile it with my opengl sdk 2.1.2? Please help me. I spent all day trying to find solution.

11-28-2011, 12:39 AM
Get glext.h from http://www.opengl.org/registry/

11-28-2011, 03:58 AM
Thanx man, it was so helpful :) Now it works