From 628d20a6109bf65175e7c4b1bd9477cdccfd7437 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 2 Aug 2006 00:22:01 +0000 Subject: Grayscale library: LCD linearisation and gamma correction. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10402 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/doom/i_video.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/plugins/doom') diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index 42e1c26..f90f7cd 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c @@ -16,7 +16,10 @@ * GNU General Public License for more details. * * $Log$ - * Revision 1.17 2006/04/22 03:48:15 kkurbjun + * Revision 1.18 2006/08/02 00:21:59 amiconn + * Grayscale library: LCD linearisation and gamma correction. + * + * Revision 1.17 2006-04-22 03:48:15 kkurbjun * Better video update, add options to startup menu, change default screensize * * Revision 1.16 2006-04-20 19:39:56 kkurbjun @@ -484,7 +487,8 @@ void I_InitGraphics(void) #ifndef HAVE_LCD_COLOR gbuf=malloc(GRAYBUFSIZE); - gray_init(rb, gbuf, GRAYBUFSIZE, false, LCD_WIDTH, LCD_HEIGHT/8, 32, NULL); + gray_init(rb, gbuf, GRAYBUFSIZE, false, LCD_WIDTH, LCD_HEIGHT/8, 32, + 3<<7 /* 1.5 */, NULL); /* switch on grayscale overlay */ gray_show(true); #endif -- cgit v1.1