File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
sources/SilkTouch/SilkTouch/Mods Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -1386,15 +1386,19 @@ container is not null
1386
1386
}
1387
1387
1388
1388
// Trim _T from the end of names
1389
- foreach ( var ( original , ( current , previous ) ) in names )
1389
+ // This is targeted towards Vulkan handle type names, which end in _T
1390
+ if ( container is null )
1390
1391
{
1391
- if ( current . EndsWith ( "_T" ) )
1392
+ foreach ( var ( original , ( current , previous ) ) in names )
1392
1393
{
1393
- var newPrim = current . Substring ( 0 , current . Length - 2 ) ;
1394
- var newPrev = previous ?? [ ] ;
1395
- newPrev . Add ( current ) ;
1394
+ if ( current . EndsWith ( "_T" ) )
1395
+ {
1396
+ var newPrim = current . Substring ( 0 , current . Length - 2 ) ;
1397
+ var newPrev = previous ?? [ ] ;
1398
+ newPrev . Add ( current ) ;
1396
1399
1397
- names [ original ] = ( newPrim , newPrev ) ;
1400
+ names [ original ] = ( newPrim , newPrev ) ;
1401
+ }
1398
1402
}
1399
1403
}
1400
1404
}
You can’t perform that action at this time.
0 commit comments