BADA: Initial BADA port implementation
This commit is contained in:
parent
f705a9b286
commit
59739a7a0e
67 changed files with 66019 additions and 14 deletions
|
@ -1348,9 +1348,13 @@ const char *OpenGLGraphicsManager::getCurrentModeName() {
|
|||
}
|
||||
|
||||
#ifdef USE_OSD
|
||||
const Graphics::Font* getFontOSD() {
|
||||
return FontMan.getFontByUsage(Graphics::FontManager::kLocalizedFont);
|
||||
}
|
||||
|
||||
void OpenGLGraphicsManager::updateOSD() {
|
||||
// The font we are going to use:
|
||||
const Graphics::Font *font = FontMan.getFontByUsage(Graphics::FontManager::kLocalizedFont);
|
||||
const Graphics::Font *font = getFontOSD();
|
||||
|
||||
if (_osdSurface.w != _osdTexture->getWidth() || _osdSurface.h != _osdTexture->getHeight())
|
||||
_osdSurface.create(_osdTexture->getWidth(), _osdTexture->getHeight(), _overlayFormat);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue