mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-22 23:08:11 +02:00
Use prevglxc->{draw,read}Priv->drawId for previously bound drawables when
unbinding context.
This commit is contained in:
parent
b294f9e55e
commit
6ac82a7057
2 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2006-02-02 Kevin E. Martin <kem-at-freedesktop-dot-org>
|
||||
|
||||
* GL/glx/glxcmds.c: (DoMakeCurrent):
|
||||
Use prevglxc->{draw,read}Priv->drawId for previously bound
|
||||
drawables when unbinding context.
|
||||
|
||||
2006-02-02 Kevin E. Martin <kem-at-freedesktop-dot-org>
|
||||
|
||||
* GL/glx/glxcmds.c: (DoMakeCurrent):
|
||||
|
|
|
|||
|
|
@ -619,8 +619,8 @@ int DoMakeCurrent( __GLXclientState *cl,
|
|||
* in the DRIcontext interface. */
|
||||
|
||||
if (!(*prevglxc->driContext.unbindContext)(NULL, prevglxc->pScreen->myNum,
|
||||
0, /* prev draw */
|
||||
0, /* prev read */
|
||||
prevglxc->drawPriv->drawId, /* prev draw */
|
||||
prevglxc->readPriv->drawId, /* prev read */
|
||||
&prevglxc->driContext)) {
|
||||
return __glXBadContext;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue