Commit 2783c42f by Alexis Hetu Committed by Nicolas Capens

Fixed Android build failure

Added missing .c_str() to convert the string object into a character string. Change-Id: I3810f67a2462f7717fdec61679e09a191b043adf Reviewed-on: https://swiftshader-review.googlesource.com/4878Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent a60e8bb8
...@@ -1379,7 +1379,7 @@ namespace es2 ...@@ -1379,7 +1379,7 @@ namespace es2
{ {
if(!linkedAttribute[location + i].name.empty()) if(!linkedAttribute[location + i].name.empty())
{ {
appendToInfoLog("Attribute '%s' aliases attribute '%s' at location %d", attribute->name.c_str(), linkedAttribute[location].name, location); appendToInfoLog("Attribute '%s' aliases attribute '%s' at location %d", attribute->name.c_str(), linkedAttribute[location].name.c_str(), location);
return false; return false;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment