Skip to content

Commit c7b0f99

Browse files
committed
Do not read failed to open shader file
1 parent 96565e9 commit c7b0f99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/shader/shadermanager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ namespace Shader
470470
if (stream.fail())
471471
{
472472
Log(Debug::Error) << "Failed to open " << Files::pathToUnicodeString(path);
473+
continue;
473474
}
474475
std::stringstream buffer;
475476
buffer << stream.rdbuf();

0 commit comments

Comments
 (0)