Fix software GL renderer.
Change-Id: I07ab2709fa694e41aa3fcc5b9dfc809f55853ab4
This commit is contained in:
parent
86079cdbff
commit
4c4163b53e
@ -284,8 +284,8 @@ void Layer::onDraw(const Region& clip) const
|
||||
glMatrixMode(GL_TEXTURE);
|
||||
glLoadMatrixf(mTextureMatrix);
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glEnable(GL_TEXTURE_EXTERNAL_OES);
|
||||
glDisable(GL_TEXTURE_2D);
|
||||
glEnable(GL_TEXTURE_EXTERNAL_OES);
|
||||
} else {
|
||||
glBindTexture(GL_TEXTURE_2D, mFlinger->getProtectedTexName());
|
||||
glMatrixMode(GL_TEXTURE);
|
||||
|
Loading…
Reference in New Issue
Block a user