Merge "small cleanup. gEGLImpl should have been static" into kraken

This commit is contained in:
Mathias Agopian
2010-04-09 14:28:03 -07:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 1 deletions

View File

@@ -239,7 +239,7 @@ struct tls_t
// ----------------------------------------------------------------------------
egl_connection_t gEGLImpl[IMPL_NUM_IMPLEMENTATIONS];
static egl_connection_t gEGLImpl[IMPL_NUM_IMPLEMENTATIONS];
static egl_display_t gDisplay[NUM_DISPLAYS];
static pthread_mutex_t gThreadLocalStorageKeyMutex = PTHREAD_MUTEX_INITIALIZER;
static pthread_key_t gEGLThreadLocalStorageKey = -1;

View File

@@ -31,6 +31,7 @@ namespace android {
struct egl_connection_t
{
inline egl_connection_t() : dso(0) { }
void * dso;
gl_hooks_t * hooks[2];
EGLint major;