Im working on some application that use rectangular textures and when I run it on ATI card, textures have artifacts, just like it use DXTC compression. I try to play with control panel but still no luck.
Uploading code is:
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
glGenTextures(1, &ret);
glBindTexture(GL_TEXTURE_RECTANGLE_ARB, ret);
glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGB8, xres, yres, 0, GL_RGB, GL_UNSIGNED_BYTE, data);
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
Is there any way to turn off this “feature”?
I forgot to check driver version.