commit | 56d2119280a202b7714821bc324b07df4b36d559 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olvaffe@gmail.com> | Mon Aug 10 12:46:08 2009 +0800 |
committer | Brian Paul <brianp@vmware.com> | Tue Aug 11 22:14:35 2009 -0600 |
tree | cced27279a8eb9d7231ec358c79c7238631a8e26 | |
parent | f6c2f5e37925abe3ea7036b7a3bd6ca1721e4f73 [diff] |
egl: Initialize current thread management on demand. Current thread management was initialized in _eglInitGlobals, which is called only in eglGetDisplay. Since EGL does not require eglGetDisplay to be called first, the initialization is better to be done on demand. _eglFiniCurrent is removed, as it is not called at all. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>