diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-08-30 21:17:51 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-08-30 21:17:51 +0000 |
commit | 6c06ce281aa7a7e20eab1934f573bc5c673d41cb (patch) | |
tree | 497ad65b4f600466db26ed9dab093ffd76764177 /src/mesa/drivers/x11/glxheader.h | |
parent | 12a5f812fcf00708ea2b6501e7adcdd5e7a47fac (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.h | 6 |
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> |