1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-25 15:56:15 +02:00

Fixed compile error on platforms where ENABLE_CPUFREQ is defined

This commit is contained in:
Maarten ter Huurne 2014-08-15 01:41:20 +02:00
parent 02384c8e72
commit c8ea974f51

View File

@ -329,7 +329,7 @@ void GMenu2X::initBG() {
{
auto cpu = OffscreenSurface::loadImage(
sc.getSkinFilePath("imgs/cpu.png"));
if (cpu) cpu->blit(bgmain, cpuX, bottomBarIconY);
if (cpu) cpu->blit(*bgmain, cpuX, bottomBarIconY);
}
cpuX += 19;
manualX = cpuX + font->getTextWidth("300MHz") + 5;