summaryrefslogtreecommitdiffstats
path: root/opengl
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
commit791982bad921ee8244264c36af81d46ae6f4e79e (patch)
treed8aa30b923c6680b6d85ae3ad183a81c95006ee2 /opengl
parenta2977c383d363e1e88a5b36230b1fa4c312807d2 (diff)
downloadframeworks_base-791982bad921ee8244264c36af81d46ae6f4e79e.zip
frameworks_base-791982bad921ee8244264c36af81d46ae6f4e79e.tar.gz
frameworks_base-791982bad921ee8244264c36af81d46ae6f4e79e.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')
-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;