aboutsummaryrefslogtreecommitdiff
path: root/pugl_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl_test.c')
-rw-r--r--pugl_test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pugl_test.c b/pugl_test.c
index b1dd316..51084e5 100644
--- a/pugl_test.c
+++ b/pugl_test.c
@@ -39,10 +39,8 @@ onDisplay(PuglWindow* win)
glRotatef(xAngle, 0.0f, 1.0f, 0.0f);
glRotatef(yAngle, 1.0f, 0.0f, 0.0f);
- /* We tell we want to draw quads */
glBegin(GL_QUADS);
- /* Every four calls to glVertex, a quad is drawn */
glColor3f(0, 0, 0); glVertex3f(-1, -1, -1);
glColor3f(0, 0, 1); glVertex3f(-1, -1, 1);
glColor3f(0, 1, 1); glVertex3f(-1, 1, 1);