Set the graphics mode.
If a driver has not already been set, this will attempt to load the best available driver (the one with the most modes). The driver will then try to find the mode that best fits the size and color depth parameters. The exact behavior will depend on the video driver.
mode |
The graphics mode. |
... |
Extra parameters determined by |
error |
Error pointer. |
true on success, otherwise false. |