summaryrefslogtreecommitdiff
path: root/source/slang-record-replay/replay/parameter-decoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang-record-replay/replay/parameter-decoder.cpp')
-rw-r--r--source/slang-record-replay/replay/parameter-decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang-record-replay/replay/parameter-decoder.cpp b/source/slang-record-replay/replay/parameter-decoder.cpp
index afe4f716d..f986fbfbe 100644
--- a/source/slang-record-replay/replay/parameter-decoder.cpp
+++ b/source/slang-record-replay/replay/parameter-decoder.cpp
@@ -84,7 +84,7 @@ size_t ParameterDecoder::decodeStruct(
SlangGlobalSessionDesc& desc = sessionDesc.getValue();
readByte = decodeUint32(buffer, bufferSize, desc.structureSize);
readByte += decodeUint32(buffer + readByte, bufferSize - readByte, desc.apiVersion);
- readByte += decodeUint32(buffer + readByte, bufferSize - readByte, desc.languageVersion);
+ readByte += decodeUint32(buffer + readByte, bufferSize - readByte, desc.minLanguageVersion);
uint32_t val = 0;
readByte += decodeUint32(buffer + readByte, bufferSize - readByte, val);
desc.enableGLSL = (val != 0);