Didn't you also messed up with the coordinates here? Specifically for second triangle?

Quote Originally Posted by phibermon View Post
Code:
glBegin(GL_TRIANGLES);

//FirstTriangle

//TopLeft        
glTexCoord2f(0, 0);
glVertex2f(500, 200);

//BottomLeft
glTexCoord2f(0, 1);
glVertex2f(50, 700);

//BottomRight
glTexCoord2f(1, 1);
glVertex2f  (1000,  700);


//SecondTriangle

//BottomRight
glTexCoord2f(1, 1);
glVertex2f  (1000,  700);

//TopRight
glTexCoord2f(1, 0);
glVertex2f  (600,  200);

//TopLeft
 glTexCoord2f(0, 0);
glVertex2f(500, 200);

glEnd();
Shouldn't the order of coordinates for second triagnle be TopLeft, BottomRight, TopRight?