egl_softpipe: Do not flush unlinked context.
authorChia-I Wu <olvaffe@gmail.com>
Thu, 20 Aug 2009 11:35:28 +0000 (19:35 +0800)
committerBrian Paul <brianp@vmware.com>
Fri, 21 Aug 2009 14:34:34 +0000 (08:34 -0600)
commit1f871a4d1536a7124d82d4503d1167bd668f84da
tree3969d2add2e35df2a17fd0c350429b940eff3fd1
parent408db29792a2d57409f2604974e4398a3545a38f
egl_softpipe: Do not flush unlinked context.

An unlinked context is destroyed after _eglMakeCurrent.  Flushing such
context would cause segfault.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/winsys/egl_xlib/egl_xlib.c