summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-06-13 19:18:56 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-06-13 19:18:56 +0200
commitd89b1e4a037b4facb84b056d2fdcd383de78b311 (patch)
tree26214afdd6deeda2c17dc4fd4b37342dba4cc822 /progs
parent907b753ae62db8c2b266b18ed122eb00e1d66587 (diff)
trivial: Update clear-undefined
Diffstat (limited to 'progs')
-rw-r--r--progs/trivial/clear-undefined.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/trivial/clear-undefined.c b/progs/trivial/clear-undefined.c
index 1569860f7a..ce066bf8e6 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);