Warning: This site is under construction, most links will be broken.

LightX API -> lxgfx -> cb_lostsurfaces

Last modified on Wed, 18th Apr 2007 at 00:32 UTC by zipplet

lxgfx.cb_lostsurfaces


cb_lostsurfaces: procedure(lxgfx: tlxgfx) of object;


This callback is invoked by lxgfx when all surfaces have been lost. This can occur if you are running your game in fullscreen mode and the user alt+tabs to the desktop and back.

Surfaces are not actually destroyed but the image data they contain is undefined. You should restore all surfaces.

Class: lxgfx