[Overview][Constants][Types][Procedures and functions][Variables] |
Disable video driver.
Source position: videoh.inc line 128
procedure DoneVideo; |
DoneVideodisables the Video driver if the video driver is active. If the videodriver was already disabled or not yet initialized, it does nothing. Disabling the driver means it will clean up any allocated resources, possibly restore the screen in the state it was before InitVideowas called. Particularly, the VideoBufand OldVideoBufarrays are no longer valid after a call to DoneVideo.
The DoneVideoshould always be called if InitVideowas called. Failing to do so may leave the screen in an unusable state after the program exits.
For an example, see most other functions.
Normally none. If the driver reports an error, this is done through the ErrorCodevariable.
|
Initialize video driver. |