progs: Check the number of configs returned by eglChooseConfig.
authorChia-I Wu <olvaffe@gmail.com>
Sat, 2 Jan 2010 13:56:13 +0000 (21:56 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 12 Jan 2010 02:55:35 +0000 (10:55 +0800)
commit3bcb08f6c472b3a7cd752c740b3bbe72c90520fd
treea89c6ebdfb27a62917da7274900c4dc41b0f32d7
parent033bd95802448bc82fd6f2ebc722ff1306b578ec
progs: Check the number of configs returned by eglChooseConfig.

A successful eglChooseConfig call does not imply there are valid
configs.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
progs/egl/xegl_tri.c
progs/egl/xeglbindtex.c
progs/egl/xeglthreads.c
progs/openvg/demos/eglcommon.c
progs/openvg/demos/lion.c
progs/openvg/trivial/eglcommon.c