From d89b1e4a037b4facb84b056d2fdcd383de78b311 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 13 Jun 2008 19:18:56 +0200 Subject: [PATCH] trivial: Update clear-undefined --- progs/trivial/clear-undefined.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/progs/trivial/clear-undefined.c b/progs/trivial/clear-undefined.c index 1569860f7a2..ce066bf8e6f 100644 --- a/progs/trivial/clear-undefined.c +++ b/progs/trivial/clear-undefined.c @@ -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); -- 2.30.2