OSDN Git Service

egl: test: Check that eglGetConfigs checks for NULL parameter
authorPauli Nieminen <pauli.nieminen@linux.intel.com>
Wed, 4 Jan 2012 19:18:12 +0000 (21:18 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 2 Aug 2013 04:01:46 +0000 (12:01 +0800)
commitfc7e8db849037b0361683aafc0f1109e920e0e60
tree102371e244dd10cb8c3682e3799dc7d37318b6a3
parent26d8b29b8487ca17d5e1a9df26c5b53979fe3190
egl: test: Check that eglGetConfigs checks for NULL parameter

Passing NULL as the last paramter of eglGetConfigs is required to
generate EGL_BAD_PARAMETER. Add unit test to check that eglGetConfigs
functions correctly.

Change-Id: I22fb382ca84334237eafbe291e3f943d2045944d
Original-Change-Id: I9c998873c08fe60b2bcf6ae73da5954c79da3dda
Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Signed-off-by: Russell Webb <russell.webb@intel.com>
opengl/tests/EGLTest/EGL_test.cpp