diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-03-02 19:14:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-02 19:14:18 -0500 |
| commit | cbba1f2ba451f31e910d59fb9efbadc5e370c095 (patch) | |
| tree | cf34d86713e2f915a42ce4ece11b7da82b9d4454 /tools/gfx/d3d/d3d-util.cpp | |
| parent | dbd8e8dc0847338a2a93d35385f48b5ce5671dd6 (diff) | |
Renamed UnownedStringSlice::size to getLength to make match String. (#1254)
Diffstat (limited to 'tools/gfx/d3d/d3d-util.cpp')
| -rw-r--r-- | tools/gfx/d3d/d3d-util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/d3d/d3d-util.cpp b/tools/gfx/d3d/d3d-util.cpp index 3f25ff46c..c746655c7 100644 --- a/tools/gfx/d3d/d3d-util.cpp +++ b/tools/gfx/d3d/d3d-util.cpp @@ -368,7 +368,7 @@ bool D3DUtil::isTypeless(DXGI_FORMAT format) static bool _isMatch(IDXGIAdapter* adapter, const Slang::UnownedStringSlice& lowerAdapaterName) { - if (lowerAdapaterName.size() == 0) + if (lowerAdapaterName.getLength() == 0) { return true; } |
