xlib: Revert destroying pipe_screen (temporary).

This commit is contained in:
José Fonseca
2008-08-19 00:18:19 +01:00
parent de3083be71
commit f9e14e0dac
+3
View File
@@ -847,7 +847,10 @@ void XMesaDestroyContext( XMesaContext c )
{
struct pipe_screen *screen = c->st->pipe->screen;
st_destroy_context(c->st);
/* FIXME: We should destroy the screen here, but if we do so, surfaces may
* outlive it, causing segfaults
screen->destroy(screen);
*/
_mesa_free(c);
}