From 99aac994aa825db8f1bac31e1c748049b45c3b8b Mon Sep 17 00:00:00 2001 From: reinelt Date: Mon, 27 Feb 2006 06:14:46 +0000 Subject: [lcd4linux @ 2006-02-27 06:14:46 by reinelt] graphic bug resulting in all black pixels solved git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@648 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_serdisplib.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'drv_serdisplib.c') diff --git a/drv_serdisplib.c b/drv_serdisplib.c index d6b003c..c54cf72 100644 --- a/drv_serdisplib.c +++ b/drv_serdisplib.c @@ -1,4 +1,4 @@ -/* $Id: drv_serdisplib.c,v 1.8 2006/02/08 04:55:05 reinelt Exp $ +/* $Id: drv_serdisplib.c,v 1.9 2006/02/27 06:14:46 reinelt Exp $ * * driver for serdisplib displays * @@ -23,6 +23,9 @@ * * * $Log: drv_serdisplib.c,v $ + * Revision 1.9 2006/02/27 06:14:46 reinelt + * graphic bug resulting in all black pixels solved + * * Revision 1.8 2006/02/08 04:55:05 reinelt * moved widget registration to drv_generic_graphic * @@ -103,7 +106,7 @@ static void drv_SD_blit(const int row, const int col, const int height, const in for (r = row; r < row + height; r++) { for (c = col; c < col + width; c++) { - color = drv_generic_graphic_gray(r, c) ? SD_COL_BLACK : SD_COL_WHITE; + color = drv_generic_graphic_black(r, c) ? SD_COL_BLACK : SD_COL_WHITE; serdisp_setcolour(dd, c, r, color); } } @@ -310,7 +313,7 @@ int drv_SD_init(const char *section, const int quiet) { int ret; - info("%s: %s", Name, "$Revision: 1.8 $"); + info("%s: %s", Name, "$Revision: 1.9 $"); /* real worker functions */ drv_generic_graphic_real_blit = drv_SD_blit; -- cgit v1.2.3