summaryrefslogtreecommitdiff
path: root/glx/glxscreens.h
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-09-03 08:05:59 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-09-03 08:05:59 +0200
commit120286aef59dabdb7c9fa762e08457e5cc8ec3a6 (patch)
tree3dff8f557c91d7a98b366b8a0f7941f0c8deecfa /glx/glxscreens.h
parentf04fe06ae244b851b38be824b1a80f2f8a030591 (diff)
glx: Add screen DestroyWindow wrapper to destroy the GLX drawable.
Fixes crashes exitting MacSlow's rgba-glx demo.
Diffstat (limited to 'glx/glxscreens.h')
-rw-r--r--glx/glxscreens.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/glx/glxscreens.h b/glx/glxscreens.h
index 34e441e7c..3c1bdd4ba 100644
--- a/glx/glxscreens.h
+++ b/glx/glxscreens.h
@@ -162,6 +162,7 @@ struct __GLXscreen {
char *GLXextensions;
Bool (*CloseScreen)(int index, ScreenPtr pScreen);
+ Bool (*DestroyWindow)(WindowPtr pWindow);
};