summaryrefslogtreecommitdiffstats
path: root/opengl/libs/egl_impl.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-04-09 13:37:34 -0700
committerMathias Agopian <mathias@google.com>2010-04-09 14:26:07 -0700
commite547835c5210c2ae022c7429e7a75ac17290bf40 (patch)
tree4dafea5605bf5111e7911b591abcee9d542279c2 /opengl/libs/egl_impl.h
parent672ea584f59c948c062bbd374d5f39b29705774a (diff)
downloadframeworks_base-e547835c5210c2ae022c7429e7a75ac17290bf40.zip
frameworks_base-e547835c5210c2ae022c7429e7a75ac17290bf40.tar.gz
frameworks_base-e547835c5210c2ae022c7429e7a75ac17290bf40.tar.bz2
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
Diffstat (limited to 'opengl/libs/egl_impl.h')
-rw-r--r--opengl/libs/egl_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/opengl/libs/egl_impl.h b/opengl/libs/egl_impl.h
index 1fba209f7..c8f529a 100644
--- a/opengl/libs/egl_impl.h
+++ b/opengl/libs/egl_impl.h
@@ -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;