Can't Draw Filled Rectangle in OpenGL : <p>I am trying to draw a simple filled rectangle in OpenGL. All Google searching tells me that glRectf() should do this, by specifying the color beforehand with glColor4f(), however the rectangle is always drawn unfilled (borders only).</p>

<p>Is there anything I am missing, or need to specify in the code beforehand? Thanks!</p>
