summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Shih-Hsin Li <seasonl@nvidia.com> 2021-09-21 18:11:23 -0700
committer Shih-hsin Li <seasonl@nvidia.com> 2023-04-07 11:30:24 -0700
commit4a012f5d3f630b2913df0163f79bf2f584c7c0f0 (patch)
tree4cfdd74b19e8c368fed062718ce27f934b9e0f3f /api/api_test.go
parent23d9715001ec52207176ccd95f5239376a7d7e34 (diff)
HWUI: reset buffer state after MakeCurrent
MakeCurrent call is not guaranteed to reset read/draw buffer state of default framebuffer unless it's the first time the context is bound. When the default framebuffer transitions from EGL_NO_SURFACE to a surface, it's buffer state might stay GL_NONE. This change make sure default framebuffer buffer state is GL_BACK after MakeCurrent. Change-Id: I9d8a402c6e66e8eca177d8dec8208db3abb155f2
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions