diff options
author | Jesse Hall <jessehall@google.com> | 2013-09-27 22:10:47 -0700 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2013-09-30 10:49:16 -0700 |
commit | b65f32ebe2c86869b07ac1c986660dfb2187b7d3 (patch) | |
tree | df8a549a979c6c612b1af3170a99173dd251784b /opengl/tests/gl_basic/gl_basic.cpp | |
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
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions