I am simply trying to add a textured quad to my program. When I add the following lines I have problems:
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
I can get the texture to show up fine when I use the above code. The problem is for some reason it messes up other things. For instance; lines that appear the proper color without the line suddenly appear different colors or do not show up at all. (Lighting is not turned on).