From c3ce8809728cad1724458006a38892d2fa0d0e4d Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Wed, 8 Dec 2010 15:34:02 -0800 Subject: 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 --- opengl/libs/EGL/egl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opengl/libs/EGL/egl.cpp') 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; -- cgit v1.1