trivial: Update clear-undefined
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 13 Jun 2008 17:18:56 +0000 (19:18 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Fri, 13 Jun 2008 17:18:56 +0000 (19:18 +0200)
progs/trivial/clear-undefined.c

index 1569860f7a2bada27206b6ab593b9007172b2f0f..ce066bf8e6fed702ebae695b0eaa025fcd61c998 100644 (file)
@@ -54,6 +54,13 @@ static void Draw(void)
    glVertex2d(1.0, 0.0);
    glEnd();
 
+   glBegin(GL_QUADS);
+   glVertex2d(0.0,  0.0);
+   glVertex2d(0.0, -1.0);
+   glVertex2d(1.0, -1.0);
+   glVertex2d(1.0,  0.0);
+   glEnd();
+
    glEnable(GL_SCISSOR_TEST);
    glClearColor(1, 1, 0, 0);
    glScissor(Width / 2, 0, Width - Width / 2, Height / 2);