The dreaded ALT-TAB
I just want to mention that you get the WM_ACTIVATE message when another window is activated (like through alt-tab, mouse clicks, through the task bar or if an application activates a window (like with SetActiveWindow()).
Off screen surfaces can become "lost" as well. I believe all surfaces in local video memory get marked as lost because of the mode switch which resets the local memory heaps. I have yet to see a nonlocalvidmem surface lost. When in doubt, restore it. Better safe than sorry.
himh
himh
Does that mean a full game has to restore all of it''s textures and images (and sound buffers)? Isn''t that what half the level loading is? I can alt-tab in and out of half-life quite quickly.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement