Info Node: (aalib.info)Initialization as a normal graphics library
(aalib.info)Initialization as a normal graphics library
Initialization as normal graphics library
=========================================
If you initialize AA-lib as a normal graphics library you can use one
of available hardware drivers. It initializes a display device and sets
the output to the screen. Hardware drivers depend on a platform you are
running at, configuration of your computer and many other things.
Typically more than one driver is available. AA-lib can make the
decision for you if you use `aa_autoinit' function:
aa_context *aa_autoinit(struct aa_hardware_params *PARAMS)
This function initializes the hardware driver and returns
`aa_context' structure used by other functions. `NULL' is returned on
failure. Parameter PARAMS is used to specify hardware parameters you
require.