Get updates to the shadow surface while switched away
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401740
This commit is contained in:
parent
4dadaeae5a
commit
c69a0ae2af
1 changed files with 5 additions and 0 deletions
|
@ -953,6 +953,11 @@ static void switch_vt_done(_THIS)
|
|||
screen_contents = NULL;
|
||||
}
|
||||
|
||||
/* Get updates to the shadow surface while switched away */
|
||||
if ( SDL_ShadowSurface ) {
|
||||
SDL_UpdateRect(SDL_ShadowSurface, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
SDL_PrivateAppActive(1, (SDL_APPACTIVE|SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS));
|
||||
}
|
||||
static void switch_vt(_THIS, unsigned short which)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue