mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Make #include filename searching case insensitive
This commit is contained in:
@@ -1843,7 +1843,7 @@ namespace renderdocui.Windows.PipelineState
|
||||
|
||||
string mainfile = "";
|
||||
|
||||
var files = new Dictionary<string, string>();
|
||||
var files = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
|
||||
if (shaderDetails.DebugInfo.entryFunc.Length > 0 && shaderDetails.DebugInfo.files.Length > 0)
|
||||
{
|
||||
entryFunc = shaderDetails.DebugInfo.entryFunc;
|
||||
|
||||
@@ -1581,7 +1581,7 @@ namespace renderdocui.Windows
|
||||
{
|
||||
if (m_SaveCallback != null)
|
||||
{
|
||||
var files = new Dictionary<string, string>();
|
||||
var files = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
|
||||
foreach (var s in m_Scintillas)
|
||||
files.Add(s.Tag as string, s.Text);
|
||||
m_SaveCallback(this, files);
|
||||
|
||||
Reference in New Issue
Block a user