From c2c2e9ab604793c6e01f85497f3f5bf645f962fa Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 10 Jun 2015 02:49:29 +0200 Subject: egl: implement EGL_KHR_gl_colorspace (v2) v2: add missing "break" Reviewed-by: Emil Velikov --- src/egl/main/eglconfig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/egl/main/eglconfig.c') 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); -- cgit v1.2.3