mirror of
https://github.com/libretro/Play-.git
synced 2024-11-27 18:50:28 +00:00
Fix warning.
This commit is contained in:
parent
66cb03f945
commit
fcbe1ffc37
@ -156,7 +156,7 @@ void MainWindow::openGLWindow_resized()
|
||||
|
||||
auto scale = devicePixelRatioF();
|
||||
CGSHandler::PRESENTATION_PARAMS presentationParams;
|
||||
presentationParams.mode = (CGSHandler::PRESENTATION_MODE)CAppConfig::GetInstance().GetPreferenceInteger(PREF_CGSHANDLER_PRESENTATION_MODE);
|
||||
presentationParams.mode = static_cast<CGSHandler::PRESENTATION_MODE>(CAppConfig::GetInstance().GetPreferenceInteger(PREF_CGSHANDLER_PRESENTATION_MODE));
|
||||
presentationParams.windowWidth = w * scale;
|
||||
presentationParams.windowHeight = h * scale;
|
||||
m_virtualMachine->m_ee->m_gs->SetPresentationParams(presentationParams);
|
||||
|
Loading…
Reference in New Issue
Block a user