projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae280f1
)
vp-tri: match vertex/color data of other tests
author
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 19 Dec 2007 15:13:20 +0000
(15:13 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 19 Dec 2007 15:13:20 +0000
(15:13 +0000)
progs/trivial/vp-tri.c
patch
|
blob
|
history
diff --git
a/progs/trivial/vp-tri.c
b/progs/trivial/vp-tri.c
index b3ac52b5099fc610760528d29e8d33c3d15ff044..d2ef5043b22108844f1555276ae6ab82cf0f4ca6 100644
(file)
--- a/
progs/trivial/vp-tri.c
+++ b/
progs/trivial/vp-tri.c
@@
-48,12
+48,12
@@
static void Display( void )
glEnable(GL_VERTEX_PROGRAM_NV);
glBegin(GL_TRIANGLES);
- glColor3f(0,0,
1
);
- glVertex3f( 0.9, -0.9, 0.0);
- glColor3f(
0,1
,0);
- glVertex3f( 0.9, 0.9, 0.0);
- glColor3f(
1,0
,0);
- glVertex3f(-0.9, 0.0, 0.0);
+ glColor3f(0,0,
.7
);
+ glVertex3f( 0.9, -0.9,
-
0.0);
+ glColor3f(
.8,0
,0);
+ glVertex3f( 0.9, 0.9,
-
0.0);
+ glColor3f(
0,.9
,0);
+ glVertex3f(-0.9, 0.0,
-
0.0);
glEnd();