mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-19 01:00:34 +01:00
Point __pGlxClient to serverClient when creating/destroying the root drawable.
This commit is contained in:
parent
25363e5b83
commit
dd474d95d0
1 changed files with 4 additions and 0 deletions
|
|
@ -122,6 +122,8 @@ glucoseCreateScreenResources(ScreenPtr pScreen)
|
|||
PixmapPtr pPixmap = pScreen->GetScreenPixmap(pScreen);
|
||||
xglScreenPtr xglScreenPriv = XGL_GET_SCREEN_PRIV (pScreen);
|
||||
|
||||
__pGlxClient = serverClient;
|
||||
|
||||
/* track root pixmap */
|
||||
if (pPixmap)
|
||||
{
|
||||
|
|
@ -750,6 +752,8 @@ glucoseCloseScreen (int index,
|
|||
{
|
||||
GlucoseScreenPrivPtr pScreenPriv = GlucoseGetScreenPriv(pScreen);
|
||||
|
||||
__pGlxClient = serverClient;
|
||||
|
||||
pScreenPriv->rootContext->destroy(pScreenPriv->rootContext);
|
||||
pScreenPriv->rootDrawable->destroy(pScreenPriv->rootDrawable);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue