[Overview][Constants][Types][Procedures and functions][Variables] | Reference for unit 'video' (#rtl) |
Disable video driver.
Source position: videoh.inc line 128
procedure DoneVideo; |
DoneVideo disables 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 InitVideo was called. Particularly, the VideoBuf and OldVideoBuf arrays are no longer valid after a call to DoneVideo.
The DoneVideo should always be called if InitVideo was 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 ErrorCode variable.
|
Initialize video driver. |
No notes exist for this page yet.