summaryrefslogtreecommitdiff
path: root/render/render.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-05-05 09:47:24 +0100
committerDave Airlie <airlied@redhat.com>2012-05-21 12:59:20 +0100
commitcc4fe613d0b0891ea9502340801b37e64301f573 (patch)
treebe87cb78ca43fd065da861dbc4803211d2d1ac5b /render/render.c
parenta45e1d6cc6f2a5f31ed737294351cfa251caa030 (diff)
render/exa: use glyph picture accessors
use the glyph picture accessors in the X server, render and EXA code. Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'render/render.c')
-rw-r--r--render/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/render.c b/render/render.c
index 344ca75e2..fe7666d35 100644
--- a/render/render.c
+++ b/render/render.c
@@ -1136,11 +1136,11 @@ ProcRenderAddGlyphs(ClientPtr client)
goto bail;
}
- GlyphPicture(glyph)[screen] = pDst =
- CreatePicture(0, &pDstPix->drawable,
+ pDst = CreatePicture(0, &pDstPix->drawable,
glyphSet->format,
CPComponentAlpha, &component_alpha,
serverClient, &error);
+ SetGlyphPicture(glyph, pScreen, pDst);
/* The picture takes a reference to the pixmap, so we
drop ours. */