Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

About using "GL_CLAMP_TO_EDGE" parameter

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
4 replies to this topic

#1 HalfLucifer   Members   

122
Like
Likes
Like

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

#2 Anonymous Poster_Anonymous Poster_*   Guests   

Likes

Posted 17 May 2001 - 04:29 AM

Try GL_CLAMP_TO_EDGE_EXT

#3 Anonymous Poster_Anonymous Poster_*   Guests   

Likes

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.

#4 HalfLucifer   Members   

122
Like
Likes
Like

Posted 19 May 2001 - 04:03 AM

Yes, it''s workable!
I got the glext.h included then using GL_CLAMP_TO_EDGE.
Everything''s okay now! Thanks! :D

#5 HullSmurf   Members   

100
Like
Likes
Like

Posted 11 May 2011 - 10:41 AM

Thanks for the link. I am just looking for it.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.