From 0e8e009f7052c66aaf8119a695f8b871d34f7a59 Mon Sep 17 00:00:00 2001 From: Zegeri Date: Wed, 3 Oct 2018 17:44:30 +0200 Subject: [PATCH] Fix case-sensitive includes in shader files --- src/xrCore/FileCRC32.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xrCore/FileCRC32.cpp b/src/xrCore/FileCRC32.cpp index e50f7f46733..734c454a212 100644 --- a/src/xrCore/FileCRC32.cpp +++ b/src/xrCore/FileCRC32.cpp @@ -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);