diff options
author | Zhigang Gong <zhigang.gong@linux.intel.com> | 2011-12-11 02:26:15 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-18 11:23:46 -0800 |
commit | 92fd83872f5509a2792338b4665dc2b3e1ed68cd (patch) | |
tree | 3255e5dac7185ad69259892f6b534e5799b13da9 /glamor/glamor_triangles.c | |
parent | d135e879a6c8698bf21ae44a02315f370b961b14 (diff) |
Remove the access mode from private pixmap structure.
Change the finish_access to pass in the access mode, and remove
the access mode from the pixmap structure. This element should
not be a pixmap's property.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'glamor/glamor_triangles.c')
-rw-r--r-- | glamor/glamor_triangles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glamor/glamor_triangles.c b/glamor/glamor_triangles.c index b7ddd823e..1ea7fd665 100644 --- a/glamor/glamor_triangles.c +++ b/glamor/glamor_triangles.c @@ -50,9 +50,9 @@ _glamor_triangles(CARD8 op, ySrc, ntris, tris); } if (pSrc->pDrawable != NULL) - glamor_finish_access(pSrc->pDrawable); + glamor_finish_access(pSrc->pDrawable, GLAMOR_ACCESS_RO); - glamor_finish_access(pDst->pDrawable); + glamor_finish_access(pDst->pDrawable, GLAMOR_ACCESS_RW); } return TRUE; } |