Get updates to the shadow surface while switched away

This commit is contained in:
Sam Lantinga
2006-05-08 05:36:45 +00:00
parent 61c0abee03
commit b6c6736b67

View File

@@ -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)