diff options
author | 2010-06-14 21:20:00 -0700 | |
---|---|---|
committer | 2010-06-15 17:31:17 -0700 | |
commit | 0a91775c4df380d6a5b7f3ccad5127388ac01306 (patch) | |
tree | bcdc72c8959bc9f0c962deb0574e17ac6aca8862 /libs/surfaceflinger/Layer.cpp | |
parent | f1be483e8e11a56b8ee93f8e917bae7001ddfba1 (diff) |
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 e7247bd90a..bfd6dccba4 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; } |