Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.
[mesa.git] / src / mesa / swrast / s_tritemp.h
index 187496689613424d8e691b7b9d860dacce02143c..97060285e5d3fde4159cb59e0fd5fcaa321d5342 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id: s_tritemp.h,v 1.48 2003/03/25 02:23:48 brianp Exp $ */
-
 /*
  * Mesa 3-D graphics library
  * Version:  5.1
@@ -23,7 +21,6 @@
  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
-/* $XFree86: xc/extras/Mesa/src/swrast/s_tritemp.h,v 1.2 2002/02/27 21:07:54 tsi Exp $ */
 
 /*
  * Triangle Rasterizer Template
@@ -86,7 +83,7 @@
    {                                                           \
       GLuint u;                                                        \
       for (u = 0; u < ctx->Const.MaxTextureUnits; u++) {       \
-         if (ctx->Texture.Unit[u]._ReallyEnabled) {            \
+         if (ctx->Texture._EnabledCoordUnits & (1 << u)) {     \
             CODE                                               \
          }                                                     \
       }                                                                \