From: Chia-I Wu Date: Fri, 14 Jan 2011 06:11:35 +0000 (+0800) Subject: egl: Fix an assertion in _eglUpdateAPIsString. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36a59b29ef07b78378dcb3934131d262d42612cb;p=mesa.git egl: Fix an assertion in _eglUpdateAPIsString. dpy->ClientAPIs was renamed in a4a38dcf61f141297a083ccac217200947d57b0d. --- diff --git a/src/egl/main/eglmisc.c b/src/egl/main/eglmisc.c index 5a607dc080a..a595e3f4d91 100644 --- a/src/egl/main/eglmisc.c +++ b/src/egl/main/eglmisc.c @@ -133,7 +133,7 @@ _eglUpdateAPIsString(_EGLDisplay *dpy) if (dpy->ClientAPIs & EGL_OPENVG_BIT) strcat(apis, "OpenVG "); - assert(strlen(apis) < sizeof(dpy->ClientAPIs)); + assert(strlen(apis) < sizeof(dpy->ClientAPIsString)); }