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
commitb8cfc0f9e1e2429010a98055678412ac94153925 (patch)
treeebc73fd0eb5acb10d974d841a2242161d94a9d77 /libs/surfaceflinger/LayerBuffer.cpp
parent68a6afeb26002961387573dd64dd0ea3816bdc91 (diff)
downloadframeworks_native-b8cfc0f9e1e2429010a98055678412ac94153925.zip
frameworks_native-b8cfc0f9e1e2429010a98055678412ac94153925.tar.gz
frameworks_native-b8cfc0f9e1e2429010a98055678412ac94153925.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);
}