Return EGL_FALSE if eglChooseConfig failed to find any matching configs

Technically, we shouldn't have touched *num_config at all in this
case, but the remote interface to the host doesn't return a separate
boolean return value, only the number of matching configs.

This makes sure that callers that only check the return value of
eglChooseConfig notice a failure to find configs.

Change-Id: I7f660a4a5b8306184608a86c34329d3163ad05ba
1 file changed
tree: 9bfe53ede5e7b7bfe921d37e233e0094aa7f1352
  1. host/
  2. shared/
  3. system/
  4. tests/
  5. Android.mk
  6. common.mk
  7. README