*/
-#include "main/glheader.h"
#include "main/mtypes.h"
#include "main/teximage.h"
-#include "intel_regions.h"
#include "intel_tex.h"
#include "brw_context.h"
for (i = 0; i <= maxEnabledUnit; i++) {
struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i];
- if (texUnit->_ReallyEnabled) {
+ if (texUnit->_Current) {
intel_finalize_mipmap_tree(brw, i);
}
}