mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 05:58:22 +02:00
glamor: Fix the segfault at screen fini.
This commit is contained in:
parent
003dee4c82
commit
955ccfbc34
1 changed files with 5 additions and 3 deletions
|
|
@ -260,8 +260,10 @@ glamor_fini(ScreenPtr screen)
|
|||
screen->CopyWindow = glamor_priv->saved_copy_window;
|
||||
screen->BitmapToRegion = glamor_priv->saved_bitmap_to_region;
|
||||
#ifdef RENDER
|
||||
ps->Composite = glamor_priv->saved_composite;
|
||||
ps->Trapezoids = glamor_priv->saved_trapezoids;
|
||||
ps->Glyphs = glamor_priv->saved_glyphs;
|
||||
if (ps) {
|
||||
ps->Composite = glamor_priv->saved_composite;
|
||||
ps->Trapezoids = glamor_priv->saved_trapezoids;
|
||||
ps->Glyphs = glamor_priv->saved_glyphs;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue