mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
fix for the directx crash
This commit is contained in:
parent
797c2c538d
commit
232fe0be8c
@ -44,7 +44,7 @@ namespace
|
|||||||
void parseResolution (int &x, int &y, const std::string& str)
|
void parseResolution (int &x, int &y, const std::string& str)
|
||||||
{
|
{
|
||||||
std::vector<std::string> split;
|
std::vector<std::string> split;
|
||||||
boost::algorithm::split (split, str, boost::is_any_of("x"));
|
boost::algorithm::split (split, str, boost::is_any_of("x@"));
|
||||||
assert (split.size() >= 2);
|
assert (split.size() >= 2);
|
||||||
boost::trim(split[0]);
|
boost::trim(split[0]);
|
||||||
boost::trim(split[1]);
|
boost::trim(split[1]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user