summaryrefslogtreecommitdiffstats
path: root/examples/model-viewer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/model-viewer/main.cpp')
-rw-r--r--examples/model-viewer/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/model-viewer/main.cpp b/examples/model-viewer/main.cpp
index 5dcc51257..6687d9338 100644
--- a/examples/model-viewer/main.cpp
+++ b/examples/model-viewer/main.cpp
@@ -1018,13 +1018,13 @@ struct ShaderCache : RefObject
return true;
}
- UInt GetHashCode() const
+ Slang::HashCode getHashCode() const
{
- auto hash = ::GetHashCode(effect);
- hash = combineHash(hash, ::GetHashCode(parameterBlockCount));
+ auto hash = ::getHashCode(effect);
+ hash = combineHash(hash, ::getHashCode(parameterBlockCount));
for( UInt ii = 0; ii < parameterBlockCount; ++ii )
{
- hash = combineHash(hash, ::GetHashCode(parameterBlockLayouts[ii]));
+ hash = combineHash(hash, ::getHashCode(parameterBlockLayouts[ii]));
}
return hash;
}