From d20632f53cc533c656e59fff08daafe52559e326 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Thu, 3 Mar 2016 16:39:54 +0100 Subject: [PATCH] app_server: (hopefully) fixed overlay on CMAP8, fixed char leaking on 15 and 16bit depth. See ticket #12613 --- src/servers/app/drawing/Overlay.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/servers/app/drawing/Overlay.cpp b/src/servers/app/drawing/Overlay.cpp index ea4eddc154..dd527cd50f 100644 --- a/src/servers/app/drawing/Overlay.cpp +++ b/src/servers/app/drawing/Overlay.cpp @@ -67,7 +67,7 @@ Overlay::Overlay(HWInterface& interface, ServerBitmap* bitmap, fOverlayToken(token) { fSemaphore = create_sem(1, "overlay lock"); - fColor = (rgb_color){ 21, 16, 21, 16 }; + fColor = (rgb_color){ 0, 80, 0, 0 }; // TODO: whatever fine color we want to use here... fWindow.offset_top = 0; @@ -237,12 +237,6 @@ Overlay::SetColorSpace(uint32 colorSpace) rgb_color colorKey = fColor; switch (colorSpace) { - case B_CMAP8: - colorKey.red = 0xff; - colorKey.green = 0xff; - colorKey.blue = 0xff; - colorKey.alpha = 0xff; - break; case B_RGB15: greenShift = colorShift = 3; alphaShift = 7;