I have a tiny problem that is driving me nut’s. I’ve lost a pixel. I’ve reduced the problem down to this:
glBegin(GL_LINE_STRIP);
glVertex2f(200, 400);
glVertex2f(0, 400);
glVertex2f(0, 0);
glEnd();
This creates an elbow shape, like an upside down L. In the join I have the corner pixel missing. I have tried also submiting this shape as GL_LINES and got the same result. If I reverse the winding I get the same result. Odd thing is, if I continue and add a third line with glVertex2f(200, 0) the problem no longer occurs.
Any idea’s as to why this has happened?