diff options
| author | Anders Leino <aleino@nvidia.com> | 2024-12-18 14:39:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-18 12:39:17 +0000 |
| commit | 41c627fd420a644f0ae86e36f4752e820e2d683c (patch) | |
| tree | 03c7f119271eec616cf192b573b2487d5b1c2df3 /examples/ray-tracing-pipeline/main.cpp | |
| parent | 45af2467289bd39baff0269bb7de8a538f617dec (diff) | |
Add slang example tests to CI (#5879)
* Examples: Don't proceed if 'initializeBase' fails
* Examples: Only access gWindow if it's been initialized
* Examples: Free memory from CommandLineToArgvW
* Add example run step to CI
Lots of examples are still unexpectedly failing, but is one small step towards addressing
issue #5520.
Diffstat (limited to 'examples/ray-tracing-pipeline/main.cpp')
| -rw-r--r-- | examples/ray-tracing-pipeline/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ray-tracing-pipeline/main.cpp b/examples/ray-tracing-pipeline/main.cpp index 1e55c7eb1..0fbb857f0 100644 --- a/examples/ray-tracing-pipeline/main.cpp +++ b/examples/ray-tracing-pipeline/main.cpp @@ -298,7 +298,7 @@ struct RayTracing : public WindowedAppBase Slang::Result initialize() { - initializeBase("Ray Tracing Pipeline", 1024, 768); + SLANG_RETURN_ON_FAIL(initializeBase("Ray Tracing Pipeline", 1024, 768)); if (!isTestMode()) { gWindow->events.mouseMove = [this](const platform::MouseEventArgs& e) |
