diff options
author | Xavier Ducrohet <xav@android.com> | 2011-10-21 16:22:15 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-10-21 16:22:15 -0700 |
commit | 7f6aec0185e171091bd1bdd0a6af08f6311bb2bf (patch) | |
tree | 28eee3f42811afd37db117e8ea5ec72270f61958 /services | |
parent | 51726c381e23d148867c760d06306dfa940b4d15 (diff) | |
parent | 4c4163b53e262ff9cc10c819321d4ae03c2d7d46 (diff) | |
download | frameworks_native-7f6aec0185e171091bd1bdd0a6af08f6311bb2bf.zip frameworks_native-7f6aec0185e171091bd1bdd0a6af08f6311bb2bf.tar.gz frameworks_native-7f6aec0185e171091bd1bdd0a6af08f6311bb2bf.tar.bz2 |
Merge "Fix software GL renderer."
Diffstat (limited to 'services')
-rw-r--r-- | services/surfaceflinger/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 28552f6..d3b0dbf 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -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); |