From 8ae0384a78ee2b66a91a13fe1c2a80f0642feacd Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 15 Sep 2009 19:31:28 -0700 Subject: [PATCH] revert to black video background, since we don't need the color-key anylonger --- libs/surfaceflinger/LayerBuffer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp index bbfc54b9a00cc..38a897d5aa150 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); }