Getting errors from OpenGL about some lines I’m running from a tutorial site - hoping someone could shed some light on this. The lines causing the problem are:
This is pulled from the glGetError () function, which is from openGL itself…so I must be doing something wrong . Any ideas why those lines could cause that problem?
Originally posted by yakuza:
[b]I’m pretty sure that’s an invalid mode for your magnification filtering method, try GL_LINEAR instead of GL_LINEAR_MIPMAP_LINEAR
Hope that helps.
edit: From the Redbook: “With magnification, even if you’ve supplied mipmaps, the base level texture map is always used.”
[/b]
Ok, that solved the 2nd two lines, but the 1st one (the most important one) still plagues me . Any ideas?