mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Use case-insensitive comparison for process filter
This makes it easier to filter processes that have upper case letters - for example, you can now type 'calc' to filter out 'Calculator'.
This commit is contained in:
committed by
Baldur Karlsson
parent
70e8abb382
commit
8154b93e2a
@@ -330,7 +330,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
bool match = false;
|
||||
|
||||
foreach(var v in values)
|
||||
if (v.Contains(processFilter.Text))
|
||||
if (v.IndexOf(processFilter.Text, StringComparison.InvariantCultureIgnoreCase) >= 0)
|
||||
match = true;
|
||||
|
||||
if(!match)
|
||||
|
||||
Reference in New Issue
Block a user