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>
Mon, 9 Dec 2013 14:29:07 +0000 (22:29 +0800)
commit6fd44f26a7cebbab8deecd94e7894f7ee97cc9ec
tree8f718c13d43cfaae921a6ee33061d199c1038631
parent7e37a15ace73e8c68abc6ac6c4fced2a23d713ff
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