summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/LayerBuffer.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-09-15 19:31:28 -0700
committerMathias Agopian <mathias@google.com>2009-09-15 19:31:28 -0700
commit8ae0384a78ee2b66a91a13fe1c2a80f0642feacd (patch)
tree05310c9e19505fa0e5ac94ed28d246e59bcb0fa4 /libs/surfaceflinger/LayerBuffer.cpp
parente611a6ed33d157b7ae15bdfe4e1873dc20ce7d48 (diff)
downloadframeworks_base-8ae0384a78ee2b66a91a13fe1c2a80f0642feacd.zip
frameworks_base-8ae0384a78ee2b66a91a13fe1c2a80f0642feacd.tar.gz
frameworks_base-8ae0384a78ee2b66a91a13fe1c2a80f0642feacd.tar.bz2
revert to black video background, since we don't need the color-key anylonger
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.cpp')
-rw-r--r--libs/surfaceflinger/LayerBuffer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp
index bbfc54b..38a897d 100644
--- a/libs/surfaceflinger/LayerBuffer.cpp
+++ b/libs/surfaceflinger/LayerBuffer.cpp
@@ -607,9 +607,10 @@ LayerBuffer::OverlaySource::~OverlaySource()
void LayerBuffer::OverlaySource::onDraw(const Region& clip) const
{
+ // this would be where the color-key would be set, should we need it.
GLclampx red = 0;
GLclampx green = 0;
- GLclampx blue = 0x1818;
+ GLclampx blue = 0;
mLayer.clearWithOpenGL(clip, red, green, blue, 0);
}