diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2006-08-02 00:22:01 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2006-08-02 00:22:01 +0000 |
| commit | 628d20a6109bf65175e7c4b1bd9477cdccfd7437 (patch) | |
| tree | a5bdef444b5873a4d24421dcfaf4f94dedbec38c /apps/plugins/doom | |
| parent | 8cc73f152b510c946a0285ac010639ebd6668ebc (diff) | |
| download | rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.zip rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.tar.gz rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.tar.bz2 rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.tar.xz | |
Grayscale library: LCD linearisation and gamma correction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10402 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom')
| -rw-r--r-- | apps/plugins/doom/i_video.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 |