From 5e214d181d1590e0002eabdc6f8395cd6ddde2a7 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Wed, 3 Jun 2009 14:50:54 +0200 Subject: [PATCH] use physical device from framebuffer instead of hardcoded value, blit after compositing --- lib/gdi/gfbdc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2