diff options
Diffstat (limited to 'examples/cpu-com-example/main.cpp')
| -rw-r--r-- | examples/cpu-com-example/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/cpu-com-example/main.cpp b/examples/cpu-com-example/main.cpp index 6da2aa0df..62a01d17f 100644 --- a/examples/cpu-com-example/main.cpp +++ b/examples/cpu-com-example/main.cpp @@ -67,7 +67,9 @@ static SlangResult _innerMain(int argc, char** argv) // Create a compile request Slang::ComPtr<slang::ICompileRequest> request; + SLANG_ALLOW_DEPRECATED_BEGIN SLANG_RETURN_ON_FAIL(slangSession->createCompileRequest(request.writeRef())); + SLANG_ALLOW_DEPRECATED_END // We want to compile to 'HOST_CALLABLE' here such that we can execute the Slang code. // |
