From e547835c5210c2ae022c7429e7a75ac17290bf40 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Fri, 9 Apr 2010 13:37:34 -0700 Subject: small cleanup. gEGLImpl should have been static also added a ctor to initialized it in case we use it ont he stack one day. Change-Id: I2736b9bce3d8ba3b74fd029de4c18cca2cdbbf60 --- opengl/libs/EGL/egl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opengl/libs/EGL/egl.cpp') diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp index 89b3e1f..e6cf792 100644 --- a/opengl/libs/EGL/egl.cpp +++ b/opengl/libs/EGL/egl.cpp @@ -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; -- cgit v1.1