Skip to content

Commit

Permalink
Fix case-sensitive includes in shader files
Browse files Browse the repository at this point in the history
  • Loading branch information
Zegeri committed Oct 3, 2018
1 parent b177189 commit 0e8e009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xrCore/FileCRC32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ void getFileCrc32(IReader* F, LPCSTR filePath, u32& outCrc, bool parseIncludes)
R_ASSERT(filePath && filePath[0]);
if (_GetItem(str, 1, inc_name, '"'))
{
xr_strlwr(inc_name);
string_path fn;
strconcat(sizeof fn, fn, filePath, inc_name);
const xr_string inc_path = EFS_Utils::ExtractFilePath(fn);
Expand Down

0 comments on commit 0e8e009

Please sign in to comment.