PDA

View Full Version : GL_TEXTURE_CUBE_MAP missing.



billy_the_kid
11-27-2011, 08: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.

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

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