MetaTextureTower: actually mark revalidated levels as valid

We were never actually clearing the invalid area on the smaller levels
of the texture tower, so we recomputed those levels every time.

https://bugzilla.gnome.org/show_bug.cgi?id=734400
This commit is contained in:
Owen W. Taylor 2014-08-07 10:21:51 +02:00
parent f0f4c31d96
commit 249468bbea

View File

@ -432,6 +432,9 @@ texture_tower_revalidate (MetaTextureTower *tower,
int level)
{
texture_tower_revalidate_fbo (tower, level);
tower->invalid[level].x1 = tower->invalid[level].x2 = 0;
tower->invalid[level].y1 = tower->invalid[level].y2 = 0;
}
/**