diff options
Diffstat (limited to 'src/sna/gen6_render.c')
-rw-r--r-- | src/sna/gen6_render.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c index 23943aa9..ee175935 100644 --- a/src/sna/gen6_render.c +++ b/src/sna/gen6_render.c @@ -1713,7 +1713,8 @@ gen6_render_video(struct sna *sna, } gen4_vertex_flush(sna); - sna_damage_add(&priv->gpu_damage, dstRegion); + if (!DAMAGE_IS_ALL(priv->gpu_damage)) + sna_damage_add(&priv->gpu_damage, dstRegion); return true; } |