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:
parent
96565e9afb
commit
c7b0f99079
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue