Attempt to fix #3195
This commit is contained in:
parent
79fd0f12a5
commit
8bd6cafddf
@ -593,7 +593,7 @@ void RaceGUI::drawEnergyMeter(int x, int y, const AbstractKart *kart,
|
||||
m.setTexture(0, m_gauge_goal);
|
||||
m.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL;
|
||||
irr_driver->getVideoDriver()->setMaterial(m);
|
||||
draw2DVertexPrimitiveList(m_gauge_goal, vertices, count,
|
||||
draw2DVertexPrimitiveList(m.getTexture(0), vertices, count,
|
||||
index, count-2, video::EVT_STANDARD, scene::EPT_TRIANGLE_FAN);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user