summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11/glxheader.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-08-30 21:17:51 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-08-30 21:17:51 +0000
commit6c06ce281aa7a7e20eab1934f573bc5c673d41cb (patch)
tree497ad65b4f600466db26ed9dab093ffd76764177 /src/mesa/drivers/x11/glxheader.h
parent12a5f812fcf00708ea2b6501e7adcdd5e7a47fac (diff)
Use XAddExtension() to register an XCloseDisplay() callback function.
When the callback is called, free all Mesa's private visual and buffer data structures which are tied to the display. Fixes problems reported by Kitware.
Diffstat (limited to 'src/mesa/drivers/x11/glxheader.h')
-rw-r--r--src/mesa/drivers/x11/glxheader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/x11/glxheader.h b/src/mesa/drivers/x11/glxheader.h
index f288170705..844a7838da 100644
--- a/src/mesa/drivers/x11/glxheader.h
+++ b/src/mesa/drivers/x11/glxheader.h
@@ -1,9 +1,8 @@
-
/*
* Mesa 3-D graphics library
- * Version: 4.1
+ * Version: 6.5.1
*
- * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -43,6 +42,7 @@
#else
# include <X11/Xlib.h>
+# include <X11/Xlibint.h>
# include <X11/Xutil.h>
# ifdef USE_XSHM /* was SHM */
# include <sys/ipc.h>