summaryrefslogtreecommitdiffstats
path: root/examples/shader-toy/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shader-toy/main.cpp')
-rw-r--r--examples/shader-toy/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shader-toy/main.cpp b/examples/shader-toy/main.cpp
index 549dbef73..350853b6f 100644
--- a/examples/shader-toy/main.cpp
+++ b/examples/shader-toy/main.cpp
@@ -283,7 +283,7 @@ struct ShaderToyApp : public WindowedAppBase
Result initialize()
{
- SLANG_RETURN_ON_FAIL(initializeBase("Shader Toy", 1024, 768));
+ SLANG_RETURN_ON_FAIL(initializeBase("Shader Toy", 1024, 768, getDeviceType()));
// We may not have a window if we're running in test mode
SLANG_ASSERT(isTestMode() || gWindow);