mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 01:50:10 +01:00
vp-tri: match vertex/color data of other tests
This commit is contained in:
parent
ae280f1ce9
commit
ded6ce2bd5
1 changed files with 6 additions and 6 deletions
|
|
@ -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();
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue