mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-06 21:28:32 +02:00
neutrino: initialize api before setting up framebuffer
This commit is contained in:
@@ -227,14 +227,14 @@ CNeutrinoApp::CNeutrinoApp()
|
|||||||
: configfile('\t')
|
: configfile('\t')
|
||||||
{
|
{
|
||||||
standby_pressed_at.tv_sec = 0;
|
standby_pressed_at.tv_sec = 0;
|
||||||
|
|
||||||
frameBuffer = CFrameBuffer::getInstance();
|
|
||||||
frameBuffer->setIconBasePath(ICONSDIR);
|
|
||||||
#if HAVE_TRIPLEDRAGON || USE_STB_HAL
|
#if HAVE_TRIPLEDRAGON || USE_STB_HAL
|
||||||
/* this needs to happen before the framebuffer is set up */
|
/* this needs to happen before the framebuffer is set up */
|
||||||
init_td_api();
|
init_td_api();
|
||||||
// shutdown_td_api();
|
// shutdown_td_api();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
frameBuffer = CFrameBuffer::getInstance();
|
||||||
|
frameBuffer->setIconBasePath(ICONSDIR);
|
||||||
SetupFrameBuffer();
|
SetupFrameBuffer();
|
||||||
|
|
||||||
mode = mode_unknown;
|
mode = mode_unknown;
|
||||||
|
Reference in New Issue
Block a user