mirror of
https://github.com/RPCS3/glslang.git
synced 2025-03-04 00:28:57 +00:00
Merge pull request #574 from dneto0/android-has-no-std-stoi
Use std::atoi instead of std::stoi
This commit is contained in:
commit
cf35b17c4f
@ -263,7 +263,7 @@ void DecodeResourceLimits(TBuiltInResource* resources, char* config)
|
||||
return;
|
||||
}
|
||||
|
||||
const int value = std::stoi(valueStr);
|
||||
const int value = std::atoi(valueStr.c_str());
|
||||
|
||||
if (tokenStr == "MaxLights")
|
||||
resources->maxLights = value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user