glamor: Route UnrealizeGlyph to glamor_glyph_unrealize.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
Zhigang Gong 2011-08-30 18:24:53 +08:00
commit f08988455c
2 changed files with 6 additions and 0 deletions

View file

@ -359,6 +359,9 @@ glamor_init(ScreenPtr screen, unsigned int flags)
ps->CreatePicture = glamor_create_picture;
glamor_priv->saved_destroy_picture = ps->DestroyPicture;
ps->DestroyPicture = glamor_destroy_picture;
glamor_priv->saved_unrealize_glyph = ps->UnrealizeGlyph;
ps->UnrealizeGlyph = glamor_glyph_unrealize;
#endif
glamor_init_solid_shader(screen);
glamor_init_tile_shader(screen);