egl: Fix an assertion in _eglUpdateAPIsString.

dpy->ClientAPIs was renamed in a4a38dcf61.
This commit is contained in:
Chia-I Wu
2011-01-14 14:11:35 +08:00
parent 483de8ef2e
commit 36a59b29ef
+1 -1
View File
@@ -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));
}