Mercurial > sdl-ios-xcode
comparison src/video/fbcon/SDL_fbevents.c @ 1781:d8030f368b84
Get updates to the shadow surface while switched away
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 08 May 2006 05:36:45 +0000 |
parents | 7a36f01acf71 |
children | 15ae67aa6b4b |
comparison
equal
deleted
inserted
replaced
1780:7a36f01acf71 | 1781:d8030f368b84 |
---|---|
951 SDL_memcpy(screen->pixels, screen_contents, screen_arealen); | 951 SDL_memcpy(screen->pixels, screen_contents, screen_arealen); |
952 SDL_free(screen_contents); | 952 SDL_free(screen_contents); |
953 screen_contents = NULL; | 953 screen_contents = NULL; |
954 } | 954 } |
955 | 955 |
956 /* Get updates to the shadow surface while switched away */ | |
957 if ( SDL_ShadowSurface ) { | |
958 SDL_UpdateRect(SDL_ShadowSurface, 0, 0, 0, 0); | |
959 } | |
960 | |
956 SDL_PrivateAppActive(1, (SDL_APPACTIVE|SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS)); | 961 SDL_PrivateAppActive(1, (SDL_APPACTIVE|SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS)); |
957 } | 962 } |
958 static void switch_vt(_THIS, unsigned short which) | 963 static void switch_vt(_THIS, unsigned short which) |
959 { | 964 { |
960 struct vt_stat vtstate; | 965 struct vt_stat vtstate; |