From 36a59b29ef07b78378dcb3934131d262d42612cb Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 14 Jan 2011 14:11:35 +0800 Subject: [PATCH] egl: Fix an assertion in _eglUpdateAPIsString. dpy->ClientAPIs was renamed in a4a38dcf61f141297a083ccac217200947d57b0d. --- src/egl/main/eglmisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.30.2