Skip to content

Commit

Permalink
SDL: Optimize OSD drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Sep 3, 2016
1 parent c4237a9 commit 7910123
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backends/graphics/surfacesdl/surfacesdl-graphics.cpp
Expand Up @@ -1199,7 +1199,8 @@ void SurfaceSdlGraphicsManager::internUpdateScreen() {
drawMouse();

#ifdef USE_OSD
SDL_BlitSurface(_osdSurface, 0, _hwscreen, 0);
if (_osdMessageAlpha != SDL_ALPHA_TRANSPARENT)
SDL_BlitSurface(_osdSurface, 0, _hwscreen, 0);
#endif

#ifdef USE_SDL_DEBUG_FOCUSRECT
Expand Down

0 comments on commit 7910123

Please sign in to comment.