| 2627 | } |
| 2628 | |
| 2629 | void CGraphics_Threaded::ResizeToScreen() |
| 2630 | { |
| 2631 | if(Resize(g_Config.m_GfxScreenWidth, g_Config.m_GfxScreenHeight, g_Config.m_GfxScreenRefreshRate)) |
| 2632 | return; |
| 2633 | |
| 2634 | // Revert config variables if the change was not accepted |
| 2635 | g_Config.m_GfxScreenWidth = ScreenWidth(); |
| 2636 | g_Config.m_GfxScreenHeight = ScreenHeight(); |
| 2637 | g_Config.m_GfxScreenRefreshRate = m_ScreenRefreshRate; |
| 2638 | } |
| 2639 | |
| 2640 | void CGraphics_Threaded::GotResized(int w, int h, int RefreshRate) |
| 2641 | { |
no outgoing calls
no test coverage detected