X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/9daf6014a224d717fa423130a8e04acd461efc24..71f4f597f7e929d2d3bbc726ed84b97b055113f8:/lib/gdi/gfbdc.cpp diff --git a/lib/gdi/gfbdc.cpp b/lib/gdi/gfbdc.cpp index 75efe891..80dd2479 100644 --- a/lib/gdi/gfbdc.cpp +++ b/lib/gdi/gfbdc.cpp @@ -131,9 +131,13 @@ void gFBDC::exec(gOpcode *o) ++t; + fb->blit(); fb->waitVSync(); break; } + case gOpcode::flush: + fb->blit(); + break; default: gDC::exec(o); break; @@ -185,7 +189,7 @@ void gFBDC::setResolution(int xres, int yres) surface.data = fb->lfb; surface.offset = 0; - surface.data_phys = 50*1024*1024; // FIXME + surface.data_phys = fb->getPhysAddr(); int fb_size = surface.stride * surface.y; @@ -239,6 +243,6 @@ void gFBDC::reloadSettings() } // eAutoInitPtr init_gFBDC(eAutoInitNumbers::graphic-1, "GFBDC"); -#ifndef SDLDC +#ifndef WITH_SDL eAutoInitPtr init_gFBDC(eAutoInitNumbers::graphic-1, "GFBDC"); #endif