Fixed nitro bar for non-HD textures
This commit is contained in:
parent
7505630cd4
commit
8d270e5ff3
@ -453,7 +453,8 @@ void RaceGUI::drawEnergyMeter(int x, int y, const AbstractKart *kart,
|
||||
(int)offset.Y-gauge_height,
|
||||
(int)offset.X + gauge_width,
|
||||
(int)offset.Y) /* dest rect */,
|
||||
core::rect<s32>(0, 0, 256, 256) /* source rect */,
|
||||
core::rect<s32>(core::position2d<s32>(0,0),
|
||||
m_gauge_empty->getSize()) /* source rect */,
|
||||
NULL /* clip rect */, NULL /* colors */,
|
||||
true /* alpha */);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user