Skip to content

Commit 0e8e009

Browse files
committed
Fix case-sensitive includes in shader files
1 parent b177189 commit 0e8e009

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/xrCore/FileCRC32.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ void getFileCrc32(IReader* F, LPCSTR filePath, u32& outCrc, bool parseIncludes)
1717
R_ASSERT(filePath && filePath[0]);
1818
if (_GetItem(str, 1, inc_name, '"'))
1919
{
20+
xr_strlwr(inc_name);
2021
string_path fn;
2122
strconcat(sizeof fn, fn, filePath, inc_name);
2223
const xr_string inc_path = EFS_Utils::ExtractFilePath(fn);

0 commit comments

Comments
 (0)