I was creating a rectangle and i saw that the left bottom corner does not had a filled pixel. To correct it i drawed a pixel with GL_POINTS on the left bottom corner. Why this corner didnt display that pixel? I am using opengl 3.3 core profile under windows 7 with glfw framework.
Where one line ends another should start. Do not start or end two lines at the same spot, I guess, and the extra pixel will not be needed - just reverse direction of some lines.
Thank you but didn’t work!
You are welcome, but it should.
Would you post a line-drawing part of code?
[QUOTE=franciscoBiaso;1266165]I was creating a rectangle and i saw that the left bottom corner does not had a filled pixel.
Use GL_LINE_LOOP if the start and end points are the same.