From 0f9b3a95a6cc087bc1e34d4becff04fa6160c582 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 18 Mar 2021 13:19:58 -0700 Subject: Remove `DescriptorSet` from D3D11 and GL devices. (#1761) --- examples/hello-world/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/hello-world/main.cpp') diff --git a/examples/hello-world/main.cpp b/examples/hello-world/main.cpp index b3bee9c07..c4bce7f79 100644 --- a/examples/hello-world/main.cpp +++ b/examples/hello-world/main.cpp @@ -244,6 +244,7 @@ Slang::Result initialize() // platforms/APIs. // IDevice::Desc deviceDesc = {}; + deviceDesc.deviceType = DeviceType::DirectX11; gfx::Result res = gfxCreateDevice(&deviceDesc, gDevice.writeRef()); if(SLANG_FAILED(res)) return res; -- cgit v1.2.3