OpenGL in 2D

I’m looking for any examples on how to program OpenGL in 2D. Any ideas would be appreciated.


2D only does not exists in OpenGL. 2D is just a “special case” of a 3D environment. Use glOrtho to setup an orthographic view. That is about the closest to 2D you get.

Okey, thanx.