Skip to content

Commit 791982b

Browse files
committed
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
1 parent a2977c3 commit 791982b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opengl/libs/EGL/egl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ struct egl_context_t : public egl_object_t
218218

219219
egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
220220
int impl, egl_connection_t const* cnx, int version)
221-
: dpy(dpy), context(context), read(0), draw(0), impl(impl), cnx(cnx),
222-
version(version)
221+
: dpy(dpy), context(context), config(config), read(0), draw(0), impl(impl),
222+
cnx(cnx), version(version)
223223
{
224224
}
225225
EGLDisplay dpy;

0 commit comments

Comments
 (0)