summaryrefslogtreecommitdiff
path: root/skinlcars.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-03-09 10:46:41 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-03-09 10:46:41 +0100
commitb526a70071b5a01a06f31ba86ef18b5b0df2c954 (patch)
tree3205da21c37bf91b872e75d573c756b6ec30aa9e /skinlcars.c
parentd08777ed87b68faca08959d561e1134563f91073 (diff)
downloadvdr-b526a70071b5a01a06f31ba86ef18b5b0df2c954.tar.gz
vdr-b526a70071b5a01a06f31ba86ef18b5b0df2c954.tar.bz2
The LCARS skin now calls SetAntiAliasGranularity(20, 16) in order to reserve enough fixed colors on 8bpp displays with anti-aliasing
Diffstat (limited to 'skinlcars.c')
-rw-r--r--skinlcars.c3
1 files changed, 2 insertions, 1 deletions
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;
}