mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-15 02:20:29 +01:00
tnl: stop using _DD_NEW_x flags
Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
938aaec981
commit
d2b849a227
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue