From: Felix Domke Date: Wed, 3 Jun 2009 12:50:54 +0000 (+0200) Subject: use physical device from framebuffer instead of hardcoded value, blit after compositing X-Git-Tag: 2.6.0~276 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/5e214d181d1590e0002eabdc6f8395cd6ddde2a7 use physical device from framebuffer instead of hardcoded value, blit after compositing --- diff --git a/lib/gdi/gfbdc.cpp b/lib/gdi/gfbdc.cpp index d2f8dad2..80dd2479 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;