rotate 2D

Hi
how to rotate 90’ a 2D glpoint image? x,y and z is zero.
Many thanks

solved but now I get random black points. Any ideas?