glamor: Fix the segfault at screen fini.
This commit is contained in:
parent
003dee4c82
commit
955ccfbc34
|
@ -260,8 +260,10 @@ glamor_fini(ScreenPtr screen)
|
||||||
screen->CopyWindow = glamor_priv->saved_copy_window;
|
screen->CopyWindow = glamor_priv->saved_copy_window;
|
||||||
screen->BitmapToRegion = glamor_priv->saved_bitmap_to_region;
|
screen->BitmapToRegion = glamor_priv->saved_bitmap_to_region;
|
||||||
#ifdef RENDER
|
#ifdef RENDER
|
||||||
ps->Composite = glamor_priv->saved_composite;
|
if (ps) {
|
||||||
ps->Trapezoids = glamor_priv->saved_trapezoids;
|
ps->Composite = glamor_priv->saved_composite;
|
||||||
ps->Glyphs = glamor_priv->saved_glyphs;
|
ps->Trapezoids = glamor_priv->saved_trapezoids;
|
||||||
|
ps->Glyphs = glamor_priv->saved_glyphs;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue