diff options
author | Mike Stroyan <stroyan@google.com> | 2017-06-01 13:56:18 -0600 |
---|---|---|
committer | Mike Stroyan <stroyan@google.com> | 2017-06-01 14:16:33 -0600 |
commit | 47e741bddde799732537116eef2ca30a93bc622c (patch) | |
tree | 3813bb6a366c067fc5b39c4c1c4b32a3f9b28894 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 1e4088fc68d88726bac0349b674ea557a63e0f27 (diff) |
egl: handle failed eglMakeCurrent EGL_NO_CONTEXT
The recovery code for failed eglMakeCurrent didn't correctly
handle the case when the previous context was EGL_NO_CONTEXT.
Leave the original EGL context unrestored in that case.
The driver should be able to handle that case without help.
Bug: 38341617, 37244059
Change-Id: I38f3450005a4eec5f1a684ee7d66363e88f6d92f
Fixes: 38341617
Test: android.server.cts.ActivityManagerDisplayTests, Run Minions Rush app.
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions