This is supposed to be a red rectangle:

All the time I sit down to add some 2D drawing functions to a 3D engine, write code for hours and finally see the result, the rectangles I programmed usualy look like this. I guess I'm not so good with indices. Or geometry. Or both :)