egl: Fix eglMakeCurrent with different surfaces.
authorChia-I Wu <olv@lunarg.com>
Mon, 5 Apr 2010 13:26:34 +0000 (21:26 +0800)
committerChia-I Wu <olv@lunarg.com>
Tue, 6 Apr 2010 03:37:58 +0000 (11:37 +0800)
commitbbe459b14d593bd2d7b6c0f010e165fe815e8396
treeb8ba421ebbeb5c60584045b8ab83cae3abaf10e2
parentffb6a8f55269d99d61eb3dc63dd510141ef817b4
egl: Fix eglMakeCurrent with different surfaces.

0a82fadcdd0b6ebbc345c7c302da0e0efce40a98 seems to trigger a bug in
_eglBindContext.  Rework the logics yet again.  It is simpler, and
hopefully correct this time.
src/egl/main/eglcontext.c