diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-27 06:14:46 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-27 06:14:46 +0000 |
commit | 99aac994aa825db8f1bac31e1c748049b45c3b8b (patch) | |
tree | a25268ffaeb5bc6340b8c520954fc0e1c8946346 /drv_T6963.c | |
parent | f5ca09365013ad01f33db2d2f58b222d6391b38d (diff) | |
download | lcd4linux-99aac994aa825db8f1bac31e1c748049b45c3b8b.tar.gz |
[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
Diffstat (limited to 'drv_T6963.c')
-rw-r--r-- | drv_T6963.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drv_T6963.c b/drv_T6963.c index eab3a30..a77be5a 100644 --- a/drv_T6963.c +++ b/drv_T6963.c @@ -1,4 +1,4 @@ -/* $Id: drv_T6963.c,v 1.19 2006/02/08 04:55:05 reinelt Exp $ +/* $Id: drv_T6963.c,v 1.20 2006/02/27 06:14:46 reinelt Exp $ * * new style driver for T6963-based displays * @@ -23,6 +23,9 @@ * * * $Log: drv_T6963.c,v $ + * Revision 1.20 2006/02/27 06:14:46 reinelt + * graphic bug resulting in all black pixels solved + * * Revision 1.19 2006/02/08 04:55:05 reinelt * moved widget registration to drv_generic_graphic * @@ -374,7 +377,7 @@ static void drv_T6_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++) { unsigned char mask = 1 << (XRES - 1 - c % XRES); - if (drv_generic_graphic_gray(r, c)) { + if (drv_generic_graphic_black(r, c)) { /* set bit */ Buffer1[(r * DCOLS + c) / XRES] |= mask; } else { @@ -588,7 +591,7 @@ int drv_T6_init(const char *section, const int quiet) { int ret; - info("%s: %s", Name, "$Revision: 1.19 $"); + info("%s: %s", Name, "$Revision: 1.20 $"); /* real worker functions */ drv_generic_graphic_real_blit = drv_T6_blit; |