- glBegin(GL_QUADS);\r
- glColor3f(1.0f,0.0f,0.0f); // Set The Color To Red\r
- glVertex3f(-1.0f, 1.0f, 0.0f); // Top left\r
- glVertex3f( 1.0f, 1.0f, 0.0f); // Top Right\r
- glVertex3f( 1.0f,-1.0f, 0.0f); // Bottom Right\r
- glVertex3f(-1.0f,-1.0f, 0.0f); // Bottom Left\r
- glEnd();\r