diff options
author | marha <marha@users.sourceforge.net> | 2012-03-13 08:31:21 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-03-13 08:31:21 +0100 |
commit | fc72edebf875378459368c5383d9023730cbca54 (patch) | |
tree | b34159309efdc9a43ebe4a32108e5c3ac051a05e /mesalib/src/mesa/tnl | |
parent | 41bd254198b8b879a562a85f7dc868c3c0f7fbc1 (diff) | |
download | vcxsrv-fc72edebf875378459368c5383d9023730cbca54.tar.gz vcxsrv-fc72edebf875378459368c5383d9023730cbca54.tar.bz2 vcxsrv-fc72edebf875378459368c5383d9023730cbca54.zip |
fontconfig mesa git update 13 Mar 2012
Diffstat (limited to 'mesalib/src/mesa/tnl')
-rw-r--r-- | mesalib/src/mesa/tnl/t_vertex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesalib/src/mesa/tnl/t_vertex.c b/mesalib/src/mesa/tnl/t_vertex.c index 6582949a0..580f95df3 100644 --- a/mesalib/src/mesa/tnl/t_vertex.c +++ b/mesalib/src/mesa/tnl/t_vertex.c @@ -269,7 +269,8 @@ void *_tnl_get_vertex( struct gl_context *ctx, GLuint nr ) void _tnl_invalidate_vertex_state( struct gl_context *ctx, GLuint new_state ) { - if (new_state & (_DD_NEW_TRI_LIGHT_TWOSIDE|_DD_NEW_TRI_UNFILLED) ) { + /* if two-sided lighting changes or filled/unfilled polygon state changes */ + if (new_state & (_NEW_LIGHT | _NEW_POLYGON) ) { struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); vtx->new_inputs = ~0; vtx->interp = choose_interp_func; |