We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ec98cd + f9e4551 commit 2f4ce2eCopy full SHA for 2f4ce2e
services/surfaceflinger/Layer.cpp
@@ -284,8 +284,8 @@ void Layer::onDraw(const Region& clip) const
284
glMatrixMode(GL_TEXTURE);
285
glLoadMatrixf(mTextureMatrix);
286
glMatrixMode(GL_MODELVIEW);
287
- glEnable(GL_TEXTURE_EXTERNAL_OES);
288
glDisable(GL_TEXTURE_2D);
+ glEnable(GL_TEXTURE_EXTERNAL_OES);
289
} else {
290
glBindTexture(GL_TEXTURE_2D, mFlinger->getProtectedTexName());
291
0 commit comments