summaryrefslogtreecommitdiffstats
path: root/examples/autodiff-texture
diff options
context:
space:
mode:
Diffstat (limited to 'examples/autodiff-texture')
-rw-r--r--examples/autodiff-texture/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/autodiff-texture/main.cpp b/examples/autodiff-texture/main.cpp
index 647929e70..d0c35d003 100644
--- a/examples/autodiff-texture/main.cpp
+++ b/examples/autodiff-texture/main.cpp
@@ -285,7 +285,7 @@ struct AutoDiffTexture : public WindowedAppBase
}
Slang::Result initialize()
{
- initializeBase("autodiff-texture", 1024, 768);
+ SLANG_RETURN_ON_FAIL(initializeBase("autodiff-texture", 1024, 768));
srand(20421);
if (!isTestMode())