Try using gluOrtho2D() like this:

gluOrtho2D(0, width, height, 0);