mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 18:28:12 +02:00
Fix build failure in the savage driver.
This commit is contained in:
parent
32d61d0616
commit
0e6ef1b1cd
1 changed files with 1 additions and 1 deletions
|
|
@ -986,7 +986,7 @@ static void TAG(render_poly_elts)( GLcontext *ctx,
|
|||
FLUSH();
|
||||
currentsz = dmasz;
|
||||
}
|
||||
} else if (HAVE_TRI_FANS && Light.ShadeModel == GL_SMOOTH) {
|
||||
} else if (HAVE_TRI_FANS && ctx->Light.ShadeModel == GL_SMOOTH) {
|
||||
TAG(render_tri_fan_verts)( ctx, start, count, flags );
|
||||
} else {
|
||||
fprintf(stderr, "%s - cannot draw primitive\n", __FUNCTION__);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue