mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-05 04:25:19 +02:00
Fixed compile error on platforms where ENABLE_CPUFREQ is defined
This commit is contained in:
parent
02384c8e72
commit
c8ea974f51
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user