About using "GL_CLAMP_TO_EDGE" parameter
Started by HalfLucifer, May 17 2001 04:24 AM
4 replies to this topic
#1 Members - Reputation: 122
Posted 17 May 2001 - 04:24 AM
While I tried to pass "GL_CLAMP_TO_EDGE" parameter to "glTexParameter()", I got an error compiling message: "undeclared identifier".
I got OpenGL installed by CD from the book "OpenGL SuperBible", and I thought it''s version 1.2. Could anyone figure out why I cannot use "GL_CLAMP_TO_EDGE"?
By the way, I cannot find the downloadable OpenGL1.2 on www.opengl.org. Where can I got it?
Thanks a lot
Sponsor:
#2 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 17 May 2001 - 04:29 AM
Try GL_CLAMP_TO_EDGE_EXT
#3 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 17 May 2001 - 11:06 AM
Windows has OpenGL 1.1 but your video card propably has 1.2 and that is a difference. You have OpenGL 1.2 but you need an extra header and treat new functions like extensions. The extra header is here http://oss.sgi.com/projects/ogl-sample/ABI/glext.h
To use GL_CLAMP_TO_EDGE should it be enough to include glext.h using new functions is also easy. You can check your OpenGL version by running NeHe tutorial 25.
To use GL_CLAMP_TO_EDGE should it be enough to include glext.h using new functions is also easy. You can check your OpenGL version by running NeHe tutorial 25.






