summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglconfig.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-06-10 02:49:29 +0200
committerMarek Olšák <[email protected]>2015-07-22 23:56:00 +0200
commitc2c2e9ab604793c6e01f85497f3f5bf645f962fa (patch)
treecc3d3bdd0f7117de07dc6628d97eb7b4025909d3 /src/egl/main/eglconfig.c
parent956ebf41aca6b74052cf6876cc479b404777700c (diff)
egl: implement EGL_KHR_gl_colorspace (v2)
v2: add missing "break" Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/main/eglconfig.c')
-rw-r--r--src/egl/main/eglconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/main/eglconfig.c b/src/egl/main/eglconfig.c
index cf65c69b7b4..c445d9b0c92 100644
--- 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);