Texture problem

I am having a problem with the quad tesselation showing on the texture I applied to a square. I am needing to enable blending and the texture looks good, but when blending is enabled, there is a line drawn from the top right to the bottom left of my quad. The line is the current color.



glBindTexture(GL_TEXTURE_2D, tex);

// set color to white
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);

   glTexCoord2f(0.0f, 0.0f); glVertex3f(0.0f, 0.0f, 1.0f); // Bottom Left Of The Texture and Quad
   glTexCoord2f(1.0f, 0.0f); glVertex3f(maxExt, 0.0f, 1.0f); // Bottom Right Of The Texture and Quad
   glTexCoord2f(1.0f, 1.0f); glVertex3f(maxExt, maxExt, 1.0f); // Top Right Of The Texture and Quad
   glTexCoord2f(0.0f, 1.0f); glVertex3f(0.0, maxExt, 1.0f); // Top Left Of The Texture and Quad

Your gl implementation seems buggy. What card/drivers/system/os ?

Try the software rendering ,ie with mesa dll.

I’m using an NVIDIA GeForce 3 Ti500 on Windows 2000.

NVIDIA Driver version

I’ll try updating my driver.

Got the latest driver from NVIDIA, but didn’t work.

Very strange. Is multisampling/antialiasing activated ?

That was it! I had enabled polygon smoothing, so a simple call to glDisable(GL_POLYGON_SMOOTH) fixed the problem.

Thanks, ZbuffeR!