GL_COMPRESSED_RGB_ARB with GL_GENERATE_MIPMAP_SGIS

Hi there,
when I use ARB texture compression together with SGI mipmap generations extension I get rasterization errors. It’s kinda hard to discribe. Sometimes there are white seams between triangles and I’m 100% sure that it’s not the T junction problem. This is the code:

glTexParameteri(GL_TEXTURE_2D,GL_GENERATE_MIPMAP_SGIS, GL_TRUE);
glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST);

glTexImage2D( GL_TEXTURE_2D,0,GL_COMPRESSED_RGB_ARB,textur->GetWidth(),textur->GetHeight(),0,GL_RGB,GL_UNSIGNED_BYTE,textur->GetBuffer());

When I use bilinear filtering instead of trilinear or if I enable anisotropic filtering in the driver these white seams are gone. Using GL_RGB instead of GL_COMPRESSED_RGB_ARB removes the seams too.

Any Idea what’s wrong with my code ?

[This message has been edited by muhkuh (edited 06-13-2002).]