summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-01-14 14:11:35 +0800
committerChia-I Wu <[email protected]>2011-01-14 14:12:42 +0800
commit36a59b29ef07b78378dcb3934131d262d42612cb (patch)
tree433450ae2e997eeba72b14c2873d3e107ecb17f9
parent483de8ef2eb9d4861c746dee750379529ea0ce0c (diff)
egl: Fix an assertion in _eglUpdateAPIsString.
dpy->ClientAPIs was renamed in a4a38dcf61f141297a083ccac217200947d57b0d.
-rw-r--r--src/egl/main/eglmisc.c2
1 files changed, 1 insertions, 1 deletions
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));
}