diff options
author | Brian Paul <[email protected]> | 2004-02-04 03:00:42 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-02-04 03:00:42 +0000 |
commit | 609f35274c9dcf8607673ec1970efff583c97ed7 (patch) | |
tree | baf44e4a59b96db79031ae2894943445dbc61fb5 /src/mesa/swrast_setup/ss_context.c | |
parent | d761adad5db052d5a2dcba5014e5d36439cf0c40 (diff) |
fix two-sided lighting / vertex program bug (#887330)
Diffstat (limited to 'src/mesa/swrast_setup/ss_context.c')
-rw-r--r-- | src/mesa/swrast_setup/ss_context.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/swrast_setup/ss_context.c b/src/mesa/swrast_setup/ss_context.c index ef83dd42370..cc30d5a93f5 100644 --- a/src/mesa/swrast_setup/ss_context.c +++ b/src/mesa/swrast_setup/ss_context.c @@ -1,9 +1,8 @@ - /* * Mesa 3-D graphics library - * Version: 4.1 + * Version: 6.0.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -37,7 +36,10 @@ #include "tnl/t_pipeline.h" #include "tnl/t_vertex.h" -#define _SWSETUP_NEW_RENDERINDEX (_NEW_POLYGON|_NEW_LIGHT) +/* Need to check lighting state and vertex program state to know + * if two-sided lighting is in effect. + */ +#define _SWSETUP_NEW_RENDERINDEX (_NEW_POLYGON|_NEW_LIGHT|_NEW_PROGRAM) GLboolean |