diff options
author | Eric Anholt <eric@anholt.net> | 2014-01-11 00:00:00 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-03-17 14:30:56 -0700 |
commit | 93f1824a0b19346f0e1759bedfa9cf10772067af (patch) | |
tree | 4098126f01619e3b9f089de2c5e6ed28f5f2bcee /glamor/glamor_addtraps.c | |
parent | 4c9a20072552c52b3763bd73e7a7e9b9cb8b4993 (diff) |
glamor: Rely on nested mappings to handle src==dst and !prepare bugs.
Now that the core deals with that for us, we can avoid all this extra
carefulness.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Markus Wick <markus@selfnet.de>
Diffstat (limited to 'glamor/glamor_addtraps.c')
-rw-r--r-- | glamor/glamor_addtraps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_addtraps.c b/glamor/glamor_addtraps.c index 655d87e3d..fdc0f4232 100644 --- a/glamor/glamor_addtraps.c +++ b/glamor/glamor_addtraps.c @@ -40,8 +40,8 @@ _glamor_add_traps(PicturePtr pPicture, if (glamor_prepare_access_picture(pPicture, GLAMOR_ACCESS_RW)) { fbAddTraps(pPicture, x_off, y_off, ntrap, traps); - glamor_finish_access_picture(pPicture, GLAMOR_ACCESS_RW); } + glamor_finish_access_picture(pPicture); return TRUE; } |