Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d8cf2ce6 authored by Pauli Nieminen's avatar Pauli Nieminen Committed by Liu Zhiquan
Browse files

egl: Add NULL check for num_config parameter



EGL 1.5 specification says in 3.4.1:
"An EGL_BAD_PARAMETER error is generated if num config is NULL."

We have to check for the condition and return the required error to
application for eglGetConfigs and eglGetConfigs functions.

Test: refactoring CL.
Change-Id: Ib42709f0420161ce661536394d4c0779bc62be57
Signed-off-by: default avatarPauli Nieminen <pauli.nieminen@linux.intel.com>
Signed-off-by: default avatarLiu Zhiquan <zhiquan.liu@intel.com>
parent b29c82b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment