Merge commit 'origin/master' into gallium-0.2
authorAlan Hourihane <alanh@tungstengraphics.com>
Thu, 20 Nov 2008 13:44:13 +0000 (13:44 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Thu, 20 Nov 2008 13:44:13 +0000 (13:44 +0000)
1  2 
src/mesa/main/image.c
src/mesa/main/texenvprogram.c
src/mesa/main/texstore.c

Simple merge
index 237ddaa683868786f1a8185ee00332d2a6bf15a9,ba7ce4a3cc65a268a5bd91e7fc26d21fdb97f485..3cb103f51f8494b0db48954f454e0a9d8774b6d5
@@@ -301,10 -218,10 +302,12 @@@ static void make_state_key( GLcontext *
        if (!texUnit->_ReallyEnabled || !texUnit->Enabled)
           continue;
  
+       format = texUnit->_Current->Image[0][texUnit->_Current->BaseLevel]->_BaseFormat;
        key->unit[i].enabled = 1;
        key->enabled_units |= (1<<i);
 +      key->nr_enabled_units = i+1;
 +      inputs_referenced |= FRAG_BIT_TEX(i);
  
        key->unit[i].source_index = 
         translate_tex_src_bit(texUnit->_ReallyEnabled);                
Simple merge