testing my program on some older ATI cards (x1950 and some mobiles ones) i have major problems with non power of two textures and mipmaps.
I am creating mipmaps like this
glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, GL_TRUE);
This works fine with nvidia .. but on ATI no mipmaps are generated and I get weird corruption with some of the textures. The ATI cards I've tested claim opengl 2.1 and specifically they list the extension
Which according to the spec
So what gives ? Is this a known fuck up on ATI cards ? How can I handle this. I don't really want to revert back to using gluBuild2DMipmaps. I've tried using the FBO extension to generate mipmaps but that doesn't seem to work either.When this extension is supported, mipmapping, automatic mipmap generation, and all the conventional wrap modes are supported for non-power-of-two textures