mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-30 13:36:42 +00:00
Possible fix for the resolutions not appearing with Direct3D Renderer
This commit is contained in:
parent
584c5c78d4
commit
110dd5d0ee
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ QStringList GraphicsPage::getAvailableResolutions(Ogre::RenderSystem *renderer)
|
|||
for (opt_it = i->second.possibleValues.begin ();
|
||||
opt_it != i->second.possibleValues.end (); opt_it++, idx++)
|
||||
{
|
||||
QRegExp resolutionRe(QString("(\\d+) x (\\d+)"));
|
||||
QRegExp resolutionRe(QString("(\\d+) x (\\d+).*"));
|
||||
QString resolution = QString::fromStdString(*opt_it).simplified();
|
||||
|
||||
if (resolutionRe.exactMatch(resolution)) {
|
||||
|
|
Loading…
Reference in a new issue