mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
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:
parent
f0f4c31d96
commit
249468bbea
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user