| 85 | } |
| 86 | |
| 87 | inline static void _GFXInitGetInitialRes(GFXVideoMode &vm) |
| 88 | { |
| 89 | // cache the desktop size of the main screen |
| 90 | GFXVideoMode desktopVm = GFXInit::getDesktopResolution(); |
| 91 | |
| 92 | // load pref variables, properly choose windowed / fullscreen |
| 93 | const String resString = Con::getVariable("$pref::Video::mode"); |
| 94 | |
| 95 | // Parse video mode settings from pref string |
| 96 | vm.parseFromString(resString); |
| 97 | } |
| 98 | |
| 99 | GFXInit::RegisterDeviceSignal& GFXInit::getRegisterDeviceSignal() |
| 100 | { |
no test coverage detected