Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
5e2c9ba
commit ed2463e
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters