glDrawArrays gives vertical lines when using GL_POINTS
I'm drawing a points using glDrawArrays with GL_POINTS. On my Intel 82945G Express Chipset Family everything is working fine. But on ATI Radeon Mobility 5730 vertical lines appear randomly when resizing the window.
Here is the code that renders the picture:
I have omitted the array initialization here.
I have checked with gDEBugger that lines are rendered into back buffer after the glDrawArraysfunction is executed.
I saw similar questions here but people are having similar problems when rendering a texture. My case is a bit simpler.
Also there are advice not to use GL_POINTS but this sounds strange to me.
I want to understand what is going on under the hood.
IMHO there is band implementation in particular driver but what is really going on?
The lines appear at the certain width of the window. When they appear i'm covering the window with other windows(causing the WM_PAINT message and window rerender). The lines still there
I'm using PFD_DOUBLEBUFFER to enable double buffering.