gfx_mode_select_ex

Extended version of the graphics mode selection dialog.

Description

int gfx_mode_select_ex(int *card, int *w, int *h, int *color_depth);
Extended version of the graphics mode selection dialog, which allows the user to select the color depth as well as the resolution and hardware driver.

This version of the function reads the initial values from the parameters when it activates so you can specify the default values. In fact, you should be sure not to pass in uninitialised values.
Examples using this:

Related Projects

The following projects include source code containing this keyword: