Merge remote-tracking branch 'origin/master'

This commit is contained in:
Claire Schwarzer 2026-02-03 05:24:35 +01:00
commit ccc1c76762
2 changed files with 5 additions and 1 deletions

View file

@ -42,6 +42,10 @@ public:
// Save the contents to our strings
vertexCode = vertexStream.str();
fragmentCode = fragmentStream.str();
// Fix encoding issues, specifically for Linux
vertexCode.erase(std::remove(vertexCode.begin(), vertexCode.end(), '\r'), vertexCode.end());
fragmentCode.erase(std::remove(fragmentCode.begin(), fragmentCode.end(), '\r'), fragmentCode.end());
}
catch (std::ifstream::failure& e)
{