mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 20:48:08 +02:00
nouveau: Fix a bug in the nv04 swtcl.
This commit is contained in:
parent
16f35a3a22
commit
4c7d36b688
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ static void nv04_render_tri_fan_verts(GLcontext *ctx,GLuint start,GLuint count,G
|
|||
for(i=start+1;i<count;i+=14)
|
||||
{
|
||||
int numvert=MIN2(15,count-i);
|
||||
int numtri=numvert-2;
|
||||
int numtri=numvert-1;
|
||||
if (numvert<3)
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue