mesa/st: enable carry/borrow lowering pass
[mesa.git] / src / mesa / main / ffvertex_prog.c
index bdabc3f45ff61996e9176c6ba866e741315158a5..728cf968b7e9835e0713bc2d79dad803de99bb1b 100644 (file)
@@ -239,7 +239,7 @@ static void make_state_key( struct gl_context *ctx, struct state_key *key )
    for (i = 0; i < MAX_TEXTURE_COORD_UNITS; i++) {
       struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i];
 
-      if (texUnit->_ReallyEnabled)
+      if (texUnit->_Current)
         key->unit[i].texunit_really_enabled = 1;
 
       if (ctx->Point.PointSprite)