i965/vec4: Make with_writemask() non-static.
[mesa.git] / src / mesa / drivers / dri / i965 / brw_tex.c
index 53c41e235c51603b611eadc7e33b1a082877fdee..1ddf1965b1c04206c649748f8c3441fc25e8c556 100644 (file)
  */
 void brw_validate_textures( struct brw_context *brw )
 {
-   struct gl_context *ctx = &brw->intel.ctx;
-   struct intel_context *intel = &brw->intel;
+   struct gl_context *ctx = &brw->ctx;
    int i;
 
    for (i = 0; i < BRW_MAX_TEX_UNIT; i++) {
       struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i];
 
       if (texUnit->_ReallyEnabled) {
-        intel_finalize_mipmap_tree(intel, i);
+        intel_finalize_mipmap_tree(brw, i);
       }
    }
 }