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/i_video.c | |
parent | 8cc73f152b510c946a0285ac010639ebd6668ebc (diff) | |
download | rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.tar.gz rockbox-628d20a6109bf65175e7c4b1bd9477cdccfd7437.zip |
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/i_video.c')
-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 42e1c2610b..f90f7cd82f 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c | |||
@@ -16,7 +16,10 @@ | |||
16 | * GNU General Public License for more details. | 16 | * GNU General Public License for more details. |
17 | * | 17 | * |
18 | * $Log$ | 18 | * $Log$ |
19 | * Revision 1.17 2006/04/22 03:48:15 kkurbjun | 19 | * Revision 1.18 2006/08/02 00:21:59 amiconn |
20 | * Grayscale library: LCD linearisation and gamma correction. | ||
21 | * | ||
22 | * Revision 1.17 2006-04-22 03:48:15 kkurbjun | ||
20 | * Better video update, add options to startup menu, change default screensize | 23 | * Better video update, add options to startup menu, change default screensize |
21 | * | 24 | * |
22 | * Revision 1.16 2006-04-20 19:39:56 kkurbjun | 25 | * Revision 1.16 2006-04-20 19:39:56 kkurbjun |
@@ -484,7 +487,8 @@ void I_InitGraphics(void) | |||
484 | 487 | ||
485 | #ifndef HAVE_LCD_COLOR | 488 | #ifndef HAVE_LCD_COLOR |
486 | gbuf=malloc(GRAYBUFSIZE); | 489 | gbuf=malloc(GRAYBUFSIZE); |
487 | gray_init(rb, gbuf, GRAYBUFSIZE, false, LCD_WIDTH, LCD_HEIGHT/8, 32, NULL); | 490 | gray_init(rb, gbuf, GRAYBUFSIZE, false, LCD_WIDTH, LCD_HEIGHT/8, 32, |
491 | 3<<7 /* 1.5 */, NULL); | ||
488 | /* switch on grayscale overlay */ | 492 | /* switch on grayscale overlay */ |
489 | gray_show(true); | 493 | gray_show(true); |
490 | #endif | 494 | #endif |