egl: Correctly unbind contexts in eglReleaseThread.
authorChia-I Wu <olvaffe@gmail.com>
Thu, 28 Jan 2010 08:49:40 +0000 (16:49 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 28 Jan 2010 09:28:48 +0000 (17:28 +0800)
commit45ba53324341234144ca02122bf2c0b5ef58c361
treef18c85541f14b8aa62ba24a458cfd99791961a9e
parent17330479b39409a63a06ec9e6b0f8e28b585db12
egl: Correctly unbind contexts in eglReleaseThread.

MakeCurrent unbinds the current context of the current API.  Modify the
current API to make sure all contexts are correctly unbound.
src/egl/main/eglapi.c