1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-11 17:04:29 +00:00

Do not read failed to open shader file

This commit is contained in:
elsid 2025-12-03 23:14:53 +01:00
parent 96565e9afb
commit c7b0f99079
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40

View file

@ -470,6 +470,7 @@ namespace Shader
if (stream.fail())
{
Log(Debug::Error) << "Failed to open " << Files::pathToUnicodeString(path);
continue;
}
std::stringstream buffer;
buffer << stream.rdbuf();