diff options
Diffstat (limited to 'examples/triangle')
| -rw-r--r-- | examples/triangle/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/triangle/main.cpp b/examples/triangle/main.cpp index e77f488cc..f757b59c7 100644 --- a/examples/triangle/main.cpp +++ b/examples/triangle/main.cpp @@ -223,7 +223,7 @@ struct HelloWorld : public WindowedAppBase { // Create a window for our application to render into. // - initializeBase("hello-world", 1024, 768); + SLANG_RETURN_ON_FAIL(initializeBase("hello-world", 1024, 768)); // We will create objects needed to configur the "input assembler" // (IA) stage of the D3D pipeline. |
