summaryrefslogtreecommitdiffstats
path: root/tools/render-test/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/options.cpp')
-rw-r--r--tools/render-test/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp
index fd4b75ed1..797439cfa 100644
--- a/tools/render-test/options.cpp
+++ b/tools/render-test/options.cpp
@@ -240,7 +240,7 @@ static SlangResult _setRendererType(RendererType type, const char* arg, Slang::W
{
outOptions.dontAddDefaultEntryPoints = true;
}
- else if (strcmp(arg, "-nvapi-register") == 0)
+ else if (strcmp(arg, "-nvapi-slot") == 0)
{
if (argCursor == argEnd)
{
@@ -248,7 +248,7 @@ static SlangResult _setRendererType(RendererType type, const char* arg, Slang::W
return SLANG_FAIL;
}
- outOptions.nvapiRegister = (*argCursor++);
+ outOptions.nvapiExtnSlot = (*argCursor++);
}
else
{