CFbAccelCSHD2::setMode: Update for new framebuffer driver (full hd)

This commit is contained in:
M. Liebmann
2017-02-13 12:49:27 +01:00
parent 9497a3c43a
commit 33125aed06
2 changed files with 44 additions and 5 deletions

View File

@@ -1815,7 +1815,10 @@ void CNeutrinoApp::CmdParser(int argc, char **argv)
void CNeutrinoApp::SetupFrameBuffer()
{
frameBuffer->init();
if(frameBuffer->setMode(720, 576, 8 * sizeof(fb_pixel_t))) {
/* Parameters only valid for hd2 hardware and new fb drivers,
all other hardware ignores these parameters */
// if (frameBuffer->setMode(1280, 720, 8 * sizeof(fb_pixel_t)) == -1) {
if (frameBuffer->setMode(1920, 1080, 8 * sizeof(fb_pixel_t)) == -1) {
dprintf(DEBUG_NORMAL, "Error while setting framebuffer mode\n");
exit(-1);
}