commit | b65f32ebe2c86869b07ac1c986660dfb2187b7d3 | [log] [tgz] |
---|---|---|
author | Jesse Hall <jessehall@google.com> | Fri Sep 27 22:10:47 2013 -0700 |
committer | Jesse Hall <jessehall@google.com> | Mon Sep 30 10:49:16 2013 -0700 |
tree | df8a549a979c6c612b1af3170a99173dd251784b | |
parent | 86206b41b2ff000e086301c6bafb8da577e563b2 [diff] |
Fix two EGLConfig selection bugs This fixes two bugs introduced by Change-Id: Ia8cc084c02a0e3de910def024da8a08d02bbd89d (a) There is no invalid EGLConfig value, in particular zero is valid. Checking return values of eglGetConfigs and eglChooseConfig is the only way to determine success. (b) The "simple" EGLConfig query used as the emulator fallback should not include EGL_RECORDABLE; the emulator doesn't have it. Bug: 10935622 Change-Id: Ib798a24e7cf06a679811c46eaa45d39174a715ec