----------------------------------------------------
| 901 | } |
| 902 | //---------------------------------------------------- |
| 903 | void ConsoleVideoConfDialog_t::driverChanged(int index) |
| 904 | { |
| 905 | int driver; |
| 906 | //printf("Driver: %i : %i \n", index, driverSelect->itemData(index).toInt() ); |
| 907 | |
| 908 | driver = driverSelect->itemData(index).toInt(); |
| 909 | |
| 910 | g_config->setOption ("SDL.VideoDriver", driver); |
| 911 | |
| 912 | g_config->save (); |
| 913 | |
| 914 | printf("Note: A restart of the application is needed for video driver change to take effect...\n"); |
| 915 | |
| 916 | if ( consoleWindow ) |
| 917 | { |
| 918 | consoleWindow->loadVideoDriver( driver ); |
| 919 | } |
| 920 | } |
| 921 | //---------------------------------------------------- |
| 922 | void ConsoleVideoConfDialog_t::scalerChanged(int index) |
| 923 | { |
nothing calls this directly
no test coverage detected