projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
483de8e
)
egl: Fix an assertion in _eglUpdateAPIsString.
author
Chia-I Wu
<olv@lunarg.com>
Fri, 14 Jan 2011 06:11:35 +0000
(14:11 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Fri, 14 Jan 2011 06:12:42 +0000
(14:12 +0800)
dpy->ClientAPIs was renamed in
a4a38dcf61f141297a083ccac217200947d57b0d
.
src/egl/main/eglmisc.c
patch
|
blob
|
history
diff --git
a/src/egl/main/eglmisc.c
b/src/egl/main/eglmisc.c
index 5a607dc080a49b2246181595a619e1436921ff6f..a595e3f4d913d19e70e203c1225b11864fe40b51 100644
(file)
--- 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->ClientAPIs
String
));
}