summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-09-15 19:31:28 -0700
committer Mathias Agopian <mathias@google.com> 2009-09-15 19:31:28 -0700
commit8ae0384a78ee2b66a91a13fe1c2a80f0642feacd (patch)
tree05310c9e19505fa0e5ac94ed28d246e59bcb0fa4
parente611a6ed33d157b7ae15bdfe4e1873dc20ce7d48 (diff)
revert to black video background, since we don't need the color-key anylonger
-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 bbfc54b9a00c..38a897d5aa15 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);
}