summaryrefslogtreecommitdiffstats
path: root/examples/cpu-hello-world/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cpu-hello-world/main.cpp')
-rw-r--r--examples/cpu-hello-world/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cpu-hello-world/main.cpp b/examples/cpu-hello-world/main.cpp
index 6e06f64bc..4302e6069 100644
--- a/examples/cpu-hello-world/main.cpp
+++ b/examples/cpu-hello-world/main.cpp
@@ -184,7 +184,7 @@ static SlangResult _innerMain(int argc, char** argv)
// We don't have any entry point parameters so that's passed as NULL
// We need to cast our definition of the uniform state to the undefined CPPPrelude::UniformState as
// that type is just a name to indicate what kind of thing needs to be passed in.
- func(&varyingInput, NULL, (CPPPrelude::UniformState*)&uniformState);
+ func(&varyingInput, NULL, &uniformState);
// bufferContents holds the output