[SDL] Restoring lost surfaces...
Darrell Walisser
walisser at mac.com
Wed Jun 5 10:08:01 PDT 2002
On Wednesday, June 5, 2002, at 12:02 PM, Gaëtan de Menten wrote:
>> From what I have read recently on this list (check the archives to
>> verify this) SDL doesn't restore hardware surfaces that go away. You
>> can check for SDL_ACTIVEEVENT to detect when someone alt-tabbed away
>> from or to your application, and recreate the surfaces.
> I don't know anything on this topic but... Couldn't this be done by SDL
> internally?
Perhaps. But the problem may be that there is no way to know if the
surface has vanished or not. I may be imagining things here, but that's
the impression I got from a past email on this topic.
-D
More information about the SDL
mailing list