Skip to main content
gamedev.net
🔒 Locked

texture functions

Started by mr2071 Apr 21, 2002 at 6:21 PM 0 replies 800+ views
Original Post
mr2071
mr2071
Hey, I saw this function in the opengl superbible and was wondering if anyone could give me a reason for this not working.. float bordercolor = { 0.0f, 1.0f, 0.0f, 0.1f }; glTexParameterfv(GL_TEXTURE_2D, GL_BORDER_COLOR, bordercolor); Error says that "GL_BORDER_COLOR" is an undeclared identifier, but i have #include <gl/gl.h> at the top. what gives?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.