Minor fix for android progress bar that probably doesn't make any difference anyway
This commit is contained in:
parent
23277066a4
commit
68cfdfbf17
@ -193,6 +193,8 @@ void ProgressBarAndroid::draw(float value)
|
||||
|
||||
m_close_event_received = !m_device->run();
|
||||
|
||||
if (!m_close_event_received)
|
||||
{
|
||||
m_device->getVideoDriver()->beginScene(true, true);
|
||||
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
@ -200,6 +202,7 @@ void ProgressBarAndroid::draw(float value)
|
||||
glDrawArrays(GL_TRIANGLES, 0, 6);
|
||||
|
||||
m_device->getVideoDriver()->endScene();
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user