summaryrefslogtreecommitdiffstats
path: root/examples/hello-world
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-03-22 16:33:51 -0700
committerGitHub <noreply@github.com>2021-03-22 16:33:51 -0700
commitd0f7b7f0ed1d0d1388ce944cd1ad906bbd9afb35 (patch)
tree2c4ea89bcd2711a5f1e94d02cbab2a838de5888c /examples/hello-world
parent0f9b3a95a6cc087bc1e34d4becff04fa6160c582 (diff)
`gfx` D3D12 shader objects rewrite. (#1763)
Diffstat (limited to 'examples/hello-world')
-rw-r--r--examples/hello-world/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/hello-world/main.cpp b/examples/hello-world/main.cpp
index c4bce7f79..b3bee9c07 100644
--- a/examples/hello-world/main.cpp
+++ b/examples/hello-world/main.cpp
@@ -244,7 +244,6 @@ 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;