mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
gallium: fix line emit order for unfilled tris
A tri drawn with GL_LINE_LOOP and GL_POLYGON w/ fillmode=GL_LINE should produce the same results when line stipple is enabled. Results are correct now.
This commit is contained in:
parent
6da943d204
commit
5240cebb23
1 changed files with 1 additions and 1 deletions
|
|
@ -101,9 +101,9 @@ static void lines( struct draw_stage *stage,
|
|||
assert(((header->edgeflags & 0x4) >> 2) == header->v[2]->edgeflag);
|
||||
#endif
|
||||
|
||||
if (header->edgeflags & 0x4) line( stage, v2, v0 );
|
||||
if (header->edgeflags & 0x1) line( stage, v0, v1 );
|
||||
if (header->edgeflags & 0x2) line( stage, v1, v2 );
|
||||
if (header->edgeflags & 0x4) line( stage, v2, v0 );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue