MetaTextureTower: Remove workaround for old clutter bug
texture_tower_revalidate_fbo() called cogl_flush() to work around clutter bug #2110, which has been long fixed. As we depend on clutter 1.7.x anyway we can just remove that workaround. https://bugzilla.gnome.org/show_bug.cgi?id=654729
This commit is contained in:
parent
3da2f876bd
commit
3f694c7335
@ -430,12 +430,7 @@ texture_tower_revalidate_fbo (MetaTextureTower *tower,
|
|||||||
CoglMatrix modelview;
|
CoglMatrix modelview;
|
||||||
|
|
||||||
if (tower->fbos[level] == COGL_INVALID_HANDLE)
|
if (tower->fbos[level] == COGL_INVALID_HANDLE)
|
||||||
{
|
tower->fbos[level] = cogl_offscreen_new_to_texture (dest_texture);
|
||||||
/* Work around http://bugzilla.openedhand.com/show_bug.cgi?id=2110 */
|
|
||||||
cogl_flush();
|
|
||||||
|
|
||||||
tower->fbos[level] = cogl_offscreen_new_to_texture (dest_texture);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tower->fbos[level] == COGL_INVALID_HANDLE)
|
if (tower->fbos[level] == COGL_INVALID_HANDLE)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user