simple 2d

OpenGL is a great lib for 3d-stuff, but is it possible to simply draw a pixel on the screen? I could create a triangle like (1,1,1)(1,1,1)(1,1,1) but I think it’s quite uneffective.

Thanks for your help

This was posted twice. I don’t know why did this happen. Sorry.

Hi !

glBegin( GL_POINTS);
glVertex3d( x, y, 0);

In orthographic mode.