Changed from GL_POLYGON to GL_QUADS for performance