egl_dri2: Flush before context switch and swap buffers.
authorChia-I Wu <olv@lunarg.com>
Tue, 6 Apr 2010 11:52:39 +0000 (19:52 +0800)
committerChia-I Wu <olv@lunarg.com>
Tue, 6 Apr 2010 11:54:06 +0000 (19:54 +0800)
commitd18d0fdcd8daa0d9979b72978795f0305d2db7c8
tree87e1294208f2ef9a44a725b70e704dfd1ba21199
parent7915151f2d05e175d00e739e9a3fead922e60096
egl_dri2: Flush before context switch and swap buffers.

DRI does not define any callback to flush the current context.  GLX
loader simply calls glFlush.  Follow the GLX loader here.
src/egl/drivers/dri2/egl_dri2.c