aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glxdri2.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-04-19 07:24:51 +0000
committermarha <marha@users.sourceforge.net>2010-04-19 07:24:51 +0000
commitd76a22b9314bfd407c7e26f78305aeecb5d2bcfb (patch)
tree12159810407a7473bed2b7ebf2dd33a86aabf854 /xorg-server/glx/glxdri2.c
parentc9431e290c4f5bc0dcd290880df404fb50a5aa5e (diff)
downloadvcxsrv-d76a22b9314bfd407c7e26f78305aeecb5d2bcfb.tar.gz
vcxsrv-d76a22b9314bfd407c7e26f78305aeecb5d2bcfb.tar.bz2
vcxsrv-d76a22b9314bfd407c7e26f78305aeecb5d2bcfb.zip
xserver git update 19/4/2010
Diffstat (limited to 'xorg-server/glx/glxdri2.c')
-rw-r--r--xorg-server/glx/glxdri2.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/xorg-server/glx/glxdri2.c b/xorg-server/glx/glxdri2.c
index 4c9f381c6..74d6ebc5d 100644
--- a/xorg-server/glx/glxdri2.c
+++ b/xorg-server/glx/glxdri2.c
@@ -105,11 +105,6 @@ __glXDRIdrawableDestroy(__GLXdrawable *drawable)
(*core->destroyDrawable)(private->driDrawable);
- /* If the X window was destroyed, the dri DestroyWindow hook will
- * aready have taken care of this, so only call if pDraw isn't NULL. */
- if (drawable->pDraw != NULL)
- DRI2DestroyDrawable(drawable->pDraw);
-
__glXDrawableRelease(drawable);
xfree(private);