summaryrefslogtreecommitdiff
path: root/tools/gfx/d3d/d3d-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/d3d/d3d-util.cpp')
-rw-r--r--tools/gfx/d3d/d3d-util.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/gfx/d3d/d3d-util.cpp b/tools/gfx/d3d/d3d-util.cpp
index c746655c7..f60bd9d3f 100644
--- a/tools/gfx/d3d/d3d-util.cpp
+++ b/tools/gfx/d3d/d3d-util.cpp
@@ -8,6 +8,8 @@
// We will use the C standard library just for printing error messages.
#include <stdio.h>
+#include "core/slang-basic.h"
+
namespace gfx {
using namespace Slang;
@@ -397,7 +399,7 @@ static bool _isMatch(IDXGIAdapter* adapter, const Slang::UnownedStringSlice& low
/* static */SlangResult D3DUtil::findAdapters(DeviceCheckFlags flags, const UnownedStringSlice& adapterName, IDXGIFactory* dxgiFactory, List<ComPtr<IDXGIAdapter>>& outDxgiAdapters)
{
- String lowerAdapterName = String(adapterName).toLower();
+ Slang::String lowerAdapterName = Slang::String(adapterName).toLower();
outDxgiAdapters.clear();