output used resolution
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 12 Apr 2007 19:46:03 +0000 (19:46 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 12 Apr 2007 19:46:03 +0000 (19:46 +0000)
lib/gdi/gfbdc.cpp

index bd259bd..871ccd2 100644 (file)
@@ -53,7 +53,8 @@ gFBDC::gFBDC()
                m_enable_double_buffering = 0;
        
        eDebug("%dkB available for acceleration surfaces.", (fb->Available() - fb_size)/1024);
                m_enable_double_buffering = 0;
        
        eDebug("%dkB available for acceleration surfaces.", (fb->Available() - fb_size)/1024);
-       
+       eDebug("resolution: %d x %d x %d (stride: %d)", surface.x, surface.y, surface.bpp, fb->Stride());
+
        if (gAccel::getInstance())
                gAccel::getInstance()->setAccelMemorySpace(fb->lfb + fb_size, surface.data_phys + fb_size, fb->Available() - fb_size);
        
        if (gAccel::getInstance())
                gAccel::getInstance()->setAccelMemorySpace(fb->lfb + fb_size, surface.data_phys + fb_size, fb->Available() - fb_size);