summaryrefslogtreecommitdiffstats
path: root/examples/triangle
diff options
context:
space:
mode:
Diffstat (limited to 'examples/triangle')
-rw-r--r--examples/triangle/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/triangle/main.cpp b/examples/triangle/main.cpp
index 6f61a6c76..2fd51da46 100644
--- a/examples/triangle/main.cpp
+++ b/examples/triangle/main.cpp
@@ -225,7 +225,7 @@ struct HelloWorld : public WindowedAppBase
{
// Create a window for our application to render into.
//
- SLANG_RETURN_ON_FAIL(initializeBase("hello-world", 1024, 768));
+ SLANG_RETURN_ON_FAIL(initializeBase("triangle", 1024, 768, getDeviceType()));
// We will create objects needed to configure the "input assembler"
// (IA) stage of the D3D pipeline.