mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-11 08:23:46 +00:00
Do comparison with layers in registry case insensitive
* Prevents the warning about layers being mis-registered popping up a false positive
This commit is contained in:
1 parent
c804c9f25b
commit
c698670368
1 file changed
+1
-1
@@ -243,7 +243,7 @@ namespace renderdocui.Code
|
||||
|
||||
foreach (var n in names)
|
||||
{
|
||||
if(Path.GetFullPath(n) == myJSON)
|
||||
if(String.Compare(Path.GetFullPath(n), myJSON, StringComparison.CurrentCultureIgnoreCase) == 0)
|
||||
{
|
||||
thisRegistered = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user