OPENGL: Fix OSD support by only updating the OSD texture in internUpdateScreen.
This actually still has the drawback that if one calls OSystem::updateScreen from the sound thread that it might crash. Hopefully no code does this though... svn-id: r54830
This commit is contained in:
parent
da2880be47
commit
d184686189
2 changed files with 13 additions and 25 deletions
|
@ -282,6 +282,7 @@ protected:
|
|||
Graphics::Surface _osdSurface;
|
||||
uint8 _osdAlpha;
|
||||
uint32 _osdFadeStartTime;
|
||||
bool _requireOSDUpdate;
|
||||
enum {
|
||||
kOSDFadeOutDelay = 2 * 1000,
|
||||
kOSDFadeOutDuration = 500,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue