From b526a70071b5a01a06f31ba86ef18b5b0df2c954 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 9 Mar 2013 10:46:41 +0100 Subject: The LCARS skin now calls SetAntiAliasGranularity(20, 16) in order to reserve enough fixed colors on 8bpp displays with anti-aliasing --- skinlcars.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'skinlcars.c') diff --git a/skinlcars.c b/skinlcars.c index 5914f4e6..72e8302e 100644 --- a/skinlcars.c +++ b/skinlcars.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: skinlcars.c 2.20 2013/03/03 15:23:58 kls Exp $ + * $Id: skinlcars.c 2.21 2013/03/09 10:43:34 kls Exp $ */ // "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures, @@ -210,6 +210,7 @@ static cOsd *CreateOsd(int Left, int Top, int x0, int y0, int x1, int y1) Area.bpp = Bpp[i]; if (Osd->CanHandleAreas(&Area, 1) == oeOk) { Osd->SetAreas(&Area, 1); + Osd->SetAntiAliasGranularity(20, 16); TwoColors = Area.bpp == 1; break; } -- cgit v1.2.3