diff options
| author | Mathias Agopian <mathias@google.com> | 2010-06-14 21:20:00 -0700 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2010-06-15 17:31:17 -0700 |
| commit | f8b4b4408cb864bf604608221eafa9d37323d348 (patch) | |
| tree | ede6098c2dd841e667123e238562ad796519be3b /libs/surfaceflinger/Layer.cpp | |
| parent | 2d468c5d73cc1cefbcfa8d98e30622c54756918c (diff) | |
| download | frameworks_base-f8b4b4408cb864bf604608221eafa9d37323d348.zip frameworks_base-f8b4b4408cb864bf604608221eafa9d37323d348.tar.gz frameworks_base-f8b4b4408cb864bf604608221eafa9d37323d348.tar.bz2 | |
Added support for the GL_TEXTURE_EXTERNAL target
This will allow us to support YUV surfaces.
Change-Id: I2d4da75f1006a5285bdc552695d4caeecccf2183
Diffstat (limited to 'libs/surfaceflinger/Layer.cpp')
| -rw-r--r-- | libs/surfaceflinger/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger/Layer.cpp b/libs/surfaceflinger/Layer.cpp index e7247bd..bfd6dcc 100644 --- a/libs/surfaceflinger/Layer.cpp +++ b/libs/surfaceflinger/Layer.cpp @@ -232,7 +232,7 @@ void Layer::onDraw(const Region& clip) const // if not everything below us is covered, we plug the holes! Region holes(clip.subtract(under)); if (!holes.isEmpty()) { - clearWithOpenGL(holes); + clearWithOpenGL(holes, 0, 0, 0, 1); } return; } |
