summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Yhuel <loic.yhuel@gmail.com>2013-04-11 11:29:10 +0200
committerJakob Bornecrantz <jakob@vmware.com>2013-04-12 11:29:26 +0200
commitd13a6334fe76f4e869b2cb8c0a6a13c185b1bedd (patch)
tree27be20e40e9699f0dd331f2d8b620cd0bcf08c00
parent23d87c92b7211cc5249eefe4ab3a2c7f370e279e (diff)
downloadxf86-video-vmware-d13a6334fe76f4e869b2cb8c0a6a13c185b1bedd.tar.gz
xf86-video-vmware-d13a6334fe76f4e869b2cb8c0a6a13c185b1bedd.tar.bz2
xf86-video-vmware-d13a6334fe76f4e869b2cb8c0a6a13c185b1bedd.zip
vmwgfx: Use myGlyphs to fix crashes
Tested-by: Christian Hesse <mail@eworm.de> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Loïc Yhuel <loic.yhuel@gmail.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
-rw-r--r--saa/saa_render.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/saa/saa_render.c b/saa/saa_render.c
index c69f2c9..c6ce68c 100644
--- a/saa/saa_render.c
+++ b/saa/saa_render.c
@@ -406,6 +406,8 @@ saa_render_setup(ScreenPtr pScreen)
saa_wrap(sscreen, ps, Trapezoids, saa_trapezoids);
saa_wrap(sscreen, ps, Triangles, saa_triangles);
saa_wrap(sscreen, ps, Composite, saa_composite);
+ saa_wrap(sscreen, ps, Glyphs, miGlyphs);
+ saa_wrap(sscreen, ps, UnrealizeGlyph, miUnrealizeGlyph);
}
}
@@ -419,6 +421,8 @@ saa_render_takedown(ScreenPtr pScreen)
saa_unwrap(sscreen, ps, Trapezoids);
saa_unwrap(sscreen, ps, Triangles);
saa_unwrap(sscreen, ps, Composite);
+ saa_unwrap(sscreen, ps, Glyphs);
+ saa_unwrap(sscreen, ps, UnrealizeGlyph);
}
}
#endif