diff options
| author | Yong He <yonghe@outlook.com> | 2021-03-18 13:19:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-18 13:19:58 -0700 |
| commit | 0f9b3a95a6cc087bc1e34d4becff04fa6160c582 (patch) | |
| tree | a8b14958f13f53ee3918c727f4e5a06af377349c /examples/hello-world | |
| parent | 6e5d85efb9fa5f647f7f0c7ef784a9fd09b29023 (diff) | |
Remove `DescriptorSet` from D3D11 and GL devices. (#1761)
Diffstat (limited to 'examples/hello-world')
| -rw-r--r-- | examples/hello-world/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
