summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL/egl.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-12-08 15:34:02 -0800
committerMathias Agopian <mathias@google.com>2010-12-08 15:34:02 -0800
commitc3ce8809728cad1724458006a38892d2fa0d0e4d (patch)
tree92d1dc341b4ff57f13861a2e27e30b1622c56580 /opengl/libs/EGL/egl.cpp
parentdb13e364f967113c27383ed9bd5f2a10f46f05c9 (diff)
downloadframeworks_native-c3ce8809728cad1724458006a38892d2fa0d0e4d.zip
frameworks_native-c3ce8809728cad1724458006a38892d2fa0d0e4d.tar.gz
frameworks_native-c3ce8809728cad1724458006a38892d2fa0d0e4d.tar.bz2
fix [3258603] 'Quadrant' benchmark crashes inside eglQueryContext on GB/Crespo
eglQueryContext(..., EGL_CONFIG_ID, ...) is dereferencing an uninitialized pointer due to a typo. Change-Id: I100addf3150f19cb6dfbce9987fb5239dd240878
Diffstat (limited to 'opengl/libs/EGL/egl.cpp')
-rw-r--r--opengl/libs/EGL/egl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp
index 29a5a96..ebe2193 100644
--- a/opengl/libs/EGL/egl.cpp
+++ b/opengl/libs/EGL/egl.cpp
@@ -218,8 +218,8 @@ struct egl_context_t : public egl_object_t
egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
int impl, egl_connection_t const* cnx, int version)
- : dpy(dpy), context(context), read(0), draw(0), impl(impl), cnx(cnx),
- version(version)
+ : dpy(dpy), context(context), config(config), read(0), draw(0), impl(impl),
+ cnx(cnx), version(version)
{
}
EGLDisplay dpy;