We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ad6de9 commit 1d66123Copy full SHA for 1d66123
XR_APILAYER_MBUCCHIA_toolkit/layer.cpp
@@ -451,7 +451,7 @@ namespace {
451
// Migrate the value upon first run.
452
m_configManager->setDefault("resolution_width", 0);
453
if (m_configManager->getValue("resolution_width") != 0) {
454
- const int migratedValue = m_configManager->getValue("resolution_width") * m_resolutionHeightRatio;
+ const int migratedValue = (int)(m_configManager->getValue("resolution_width") * m_resolutionHeightRatio);
455
m_configManager->setValue(config::SettingResolutionHeight, migratedValue, true);
456
m_configManager->deleteValue("resolution_width");
457
m_configManager->tick();
0 commit comments