aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glxdri2.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-04-19 12:16:20 +0000
committermarha <marha@users.sourceforge.net>2010-04-19 12:16:20 +0000
commit0b53765917ae196147886189ca3514a07e0eb45e (patch)
tree0188ad84af0b6949528ff8c53c2d16f24a9f1eea /xorg-server/glx/glxdri2.c
parent0b8629ada4293370d220bbb7e6c195c711baee7d (diff)
downloadvcxsrv-0b53765917ae196147886189ca3514a07e0eb45e.tar.gz
vcxsrv-0b53765917ae196147886189ca3514a07e0eb45e.tar.bz2
vcxsrv-0b53765917ae196147886189ca3514a07e0eb45e.zip
svn merge -r537:HEAD "^/branches/released" .
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);