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_picture.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_picture.c')
-rw-r--r-- | glamor/glamor_picture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glamor/glamor_picture.c b/glamor/glamor_picture.c index 8bbe2e98b..5fdc5f9b0 100644 --- a/glamor/glamor_picture.c +++ b/glamor/glamor_picture.c @@ -55,12 +55,12 @@ glamor_prepare_access_picture(PicturePtr picture, glamor_access_t access) } void -glamor_finish_access_picture(PicturePtr picture, glamor_access_t access) +glamor_finish_access_picture(PicturePtr picture) { if (!picture || !picture->pDrawable) return; - glamor_finish_access(picture->pDrawable, access); + glamor_finish_access(picture->pDrawable); } /* |