mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-18 04:00:35 +01:00
Bring across a glx context fix from xgl.
This commit is contained in:
parent
615cdbe20b
commit
a1bac4019f
1 changed files with 3 additions and 0 deletions
|
|
@ -234,12 +234,15 @@ static Bool PositionWindow(WindowPtr pWin, int x, int y)
|
|||
}
|
||||
|
||||
/* mark contexts as needing resize */
|
||||
__glXFlushContextCache ();
|
||||
|
||||
for (glxc = glxPriv->drawGlxc; glxc; glxc = glxc->nextDrawPriv) {
|
||||
(*glxc->loseCurrent)(glxc);
|
||||
glxc->pendingState |= __GLX_PENDING_RESIZE;
|
||||
}
|
||||
|
||||
for (glxc = glxPriv->readGlxc; glxc; glxc = glxc->nextReadPriv) {
|
||||
(*glxc->loseCurrent)(glxc);
|
||||
glxc->pendingState |= __GLX_PENDING_RESIZE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue