mirror of
https://github.com/brl/mutter.git
synced 2025-03-28 22:23:47 +00: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)
|
int level)
|
||||||
{
|
{
|
||||||
texture_tower_revalidate_fbo (tower, 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…
x
Reference in New Issue
Block a user