projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
egl: improve attribute checking for eglCreateContext
[mesa.git]
/
src
/
egl
/
main
/
eglconfig.c
diff --git
a/src/egl/main/eglconfig.c
b/src/egl/main/eglconfig.c
index cf65c69b7b4333fb2cab1e36d8eaf88c043146cb..c445d9b0c926ce5d6000f26861976c5ca7b118ef 100644
(file)
--- a/
src/egl/main/eglconfig.c
+++ b/
src/egl/main/eglconfig.c
@@
-83,7
+83,8
@@
_eglLinkConfig(_EGLConfig *conf)
_EGLDisplay *dpy = conf->Display;
/* sanity check */
- assert(dpy && conf->ConfigID > 0);
+ assert(dpy);
+ assert(conf->ConfigID > 0);
if (!dpy->Configs) {
dpy->Configs = _eglCreateArray("Config", 16);