diff options
Diffstat (limited to 'apps/plugins/lib/grey_core.c')
-rw-r--r-- | apps/plugins/lib/grey_core.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/plugins/lib/grey_core.c b/apps/plugins/lib/grey_core.c index c2e0747718..047e4cc160 100644 --- a/apps/plugins/lib/grey_core.c +++ b/apps/plugins/lib/grey_core.c | |||
@@ -677,10 +677,11 @@ bool grey_init(unsigned char *gbuf, long gbuf_size, | |||
677 | _grey_info.bheight = bdim; | 677 | _grey_info.bheight = bdim; |
678 | #endif | 678 | #endif |
679 | _grey_info.flags = features & 0xff; | 679 | _grey_info.flags = features & 0xff; |
680 | _grey_info.fg_brightness = 0; | 680 | |
681 | _grey_info.bg_brightness = 255; | 681 | /* default viewport and settings */ |
682 | _grey_info.drawmode = DRMODE_SOLID; | 682 | grey_set_viewport(NULL); |
683 | _grey_info.curfont = FONT_SYSFIXED; | 683 | grey_viewport_set_fullscreen(NULL, SCREEN_MAIN); |
684 | grey_set_framebuffer(NULL); | ||
684 | 685 | ||
685 | /* precalculate the value -> pattern index conversion table, taking | 686 | /* precalculate the value -> pattern index conversion table, taking |
686 | linearisation and gamma correction into account */ | 687 | linearisation and gamma correction into account */ |