[Overview][Constants][Types][Procedures and functions][Variables] |
Initialize video driver.
Source position: videoh.inc line 126
procedure InitVideo; |
InitVideoInitializes the video subsystem. If the video system was already initialized, it does nothing. After the driver has been initialized, the VideoBufand OldVideoBufpointers are initialized, based on the ScreenWidthand ScreenHeightvariables. When this is done, the screen is cleared.
For an example, see most other functions.
if the driver fails to initialize, the ErrorCodevariable is set.
|
Disable video driver. |