mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Do a case-insensitive compare while looking up header file includes
This commit is contained in:
@@ -2551,7 +2551,7 @@ namespace renderdocui.Windows.PipelineState
|
||||
// if not, try and find the same filename (this is not proper include handling!)
|
||||
foreach (var k in updatedfiles.Keys)
|
||||
{
|
||||
if (renderdocui.Code.Helpers.SafeGetFileName(k) == search)
|
||||
if (String.Compare(renderdocui.Code.Helpers.SafeGetFileName(k), search, true) == 0)
|
||||
{
|
||||
fileText = updatedfiles[k];
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user