X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fgdi%2Fgfbdc.cpp;h=80dd2479b52b92d97a983b5ddf38c4de6dd8b326;hb=7ff071c7f0df631ca273d7f29472f8b5568818f9;hp=b6cbc9b003bd7b39b5c1bacff9c6a94469de3ba9;hpb=f4f8f9a2775fa1794de6935756f30bf4d99f33e8;p=vuplus_dvbapp diff --git a/lib/gdi/gfbdc.cpp b/lib/gdi/gfbdc.cpp index b6cbc9b..80dd247 100644 --- a/lib/gdi/gfbdc.cpp +++ b/lib/gdi/gfbdc.cpp @@ -131,6 +131,7 @@ void gFBDC::exec(gOpcode *o) ++t; + fb->blit(); fb->waitVSync(); break; } @@ -188,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; @@ -242,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