commit | c58af5cbb295760687b23428f8ac240459e5cf56 | [log] [tgz] |
---|---|---|
author | Emil Velikov <emil.velikov@collabora.com> | Tue Jun 20 15:40:28 2017 +0100 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Mon Jun 26 12:41:00 2017 +0100 |
tree | 0bf1c53aedde3010b4254c12531c6249e85d13ca | |
parent | d42b09580a5270e8906dad4b923f320d1de18167 [diff] |
egl: fold _eglError() + return EGL_FALSE The function _eglError() already explicitly returns EGL_FALSE, explicitly to simplify the callers. Make use of it. While EGL_FALSE is numerically identical to false, NULL, EGL_NO_FOO, storage is not the same so we cannot use it for "everything". Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>