summaryrefslogtreecommitdiffstats
path: root/examples/platform-test
diff options
context:
space:
mode:
Diffstat (limited to 'examples/platform-test')
-rw-r--r--examples/platform-test/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/platform-test/main.cpp b/examples/platform-test/main.cpp
index 7949d90c1..a2996d2ab 100644
--- a/examples/platform-test/main.cpp
+++ b/examples/platform-test/main.cpp
@@ -101,7 +101,7 @@ struct PlatformTest : public WindowedAppBase
Slang::Result initialize()
{
- SLANG_RETURN_ON_FAIL(initializeBase("platform-test", 1024, 768));
+ SLANG_RETURN_ON_FAIL(initializeBase("platform-test", 1024, 768, getDeviceType()));
// We may not have a window if we're running in test mode
SLANG_ASSERT(isTestMode() || gWindow);